/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:06:47 by OpenVMS SDL V3.7 */ /* Source: 20-DEC-1996 06:37:06 $1$DGA8345:[LIB_H.SRC]CHPCTLDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $CHPCTLDEF ***/ #ifndef __CHPCTLDEF_LOADED #define __CHPCTLDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /* */ /* CHeck Protection ConTroL block definition. This block contains the */ /* information concerning the type of access check being made. */ /* */ #define CHPCTL$M_READ 0x1 #define CHPCTL$M_WRITE 0x2 #define CHPCTL$M_USEREADALL 0x4 #define CHPCTL$M_NOAUDIT 0x8 #define CHPCTL$M_NOFAILAUD 0x10 #define CHPCTL$M_NOSUCCAUD 0x20 #define CHPCTL$M_DELETE 0x40 #define CHPCTL$M_MANDATORY 0x80 #define CHPCTL$M_FLUSH 0x100 #define CHPCTL$M_CREATE 0x200 #define CHPCTL$M_INTERNAL 0x400 #define CHPCTL$M_SERVER 0x800 #define CHPCTL$K_LENGTH 32 #define CHPCTL$C_LENGTH 32 #ifdef __cplusplus /* Define structure prototypes */ struct _arb; struct _psb; struct _orb; #endif /* #ifdef __cplusplus */ typedef struct _chpctl { unsigned int chpctl$l_access; /* type of access desired */ __union { unsigned int chpctl$l_flags; /* control flags */ __struct { unsigned chpctl$v_read : 1; /* READ access */ unsigned chpctl$v_write : 1; /* WRITE access */ unsigned chpctl$v_usereadall : 1; /* try for READ access via READALL */ unsigned chpctl$v_noaudit : 1; /* do not perform any auditing */ unsigned chpctl$v_nofailaud : 1; /* do not perform failed access audit */ unsigned chpctl$v_nosuccaud : 1; /* do not perform successful access audit */ unsigned chpctl$v_delete : 1; /* perform audit as DELETE event */ unsigned chpctl$v_mandatory : 1; /* perform mandatory audit */ unsigned chpctl$v_flush : 1; /* force buffer flush in audit server */ unsigned chpctl$v_create : 1; /* perform audit as CREATE event */ unsigned chpctl$v_internal : 1; /* audit on behalf of VMS TCB */ unsigned chpctl$v_server : 1; /* audit originates in TCB server process */ unsigned chpctl$v_fill_2_ : 4; } chpctl$r_fill_1_; } chpctl$r_fill_0_; unsigned int chpctl$l_mode; /* access mode of request */ void *chpctl$l_audit_list; /* address of associated auditing item list */ int chpctl$l_deaccess_key; /* deaccess audit object handle */ unsigned int chpctl$l_message; /* associated auditing message code */ __union { /* Use same storage for either ARB or PSB address */ struct _arb *chpctl$l_arb; /* corresponding ARB */ struct _psb *chpctl$l_psb; /* corresponding PSB */ } chpctl$r_access_structure; struct _orb *chpctl$l_orb; /* corresponding ORB */ } CHPCTL; #if !defined(__VAXC) #define chpctl$l_flags chpctl$r_fill_0_.chpctl$l_flags #define chpctl$v_read chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_read #define chpctl$v_write chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_write #define chpctl$v_usereadall chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_usereadall #define chpctl$v_noaudit chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_noaudit #define chpctl$v_nofailaud chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_nofailaud #define chpctl$v_nosuccaud chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_nosuccaud #define chpctl$v_delete chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_delete #define chpctl$v_mandatory chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_mandatory #define chpctl$v_flush chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_flush #define chpctl$v_create chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_create #define chpctl$v_internal chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_internal #define chpctl$v_server chpctl$r_fill_0_.chpctl$r_fill_1_.chpctl$v_server #define chpctl$l_arb chpctl$r_access_structure.chpctl$l_arb #define chpctl$l_psb chpctl$r_access_structure.chpctl$l_psb #endif /* #if !defined(__VAXC) */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __CHPCTLDEF_LOADED */