/***************************************************************************/ /** **/ /** 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:52 by OpenVMS SDL V3.7 */ /* Source: 20-APR-1993 14:46:44 $1$DGA8345:[LIB_H.SRC]PRBDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $PRBDEF ***/ #ifndef __PRBDEF_LOADED #define __PRBDEF_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 /*+ */ /* */ /* Protection block definition. The protection block is used to specify */ /* protection on objects internal to the system (e.g., devices, logical */ /* name tables, etc.) It is used as input to the EXE$CHECKACCESS routine. */ /* */ /*- */ #define PRB$M_UIC 0x1 #define PRB$M_ACL 0x2 #define PRB$M_CLASS 0x4 #define PRB$M_CLASSMAX 0x8 #define PRB$S_PRBDEF 8 /* */ typedef struct _prb { __union { unsigned short int prb$w_flags; /* Presence flag bits */ __struct { unsigned prb$v_uic : 1; /* Set for simple UIC protection */ unsigned prb$v_acl : 1; /* Set for access control list */ unsigned prb$v_class : 1; /* Set for security classification */ unsigned prb$v_classmax : 1; /* Set for security class range */ unsigned prb$v_fill_2_ : 4; } prb$r_fill_1_; } prb$r_fill_0_; unsigned short int prb$w_protection; /* SOGW protection mask */ unsigned int prb$l_owner; /* Owner UIC */ /* The remaining items in the protection block are optional and therefore */ /* do not have fixed offsets. The description given below is for a */ /* hypothetical fully configured protection block. */ /* */ /* ACL quadword; /* ACL listhead */ /* CLASS structure; /* Classification mask */ /* FILL_1 long dimension 5 fill; */ /* end CLASS; */ /* CLASSMAX structure; /* Maximum class mask for range */ /* FILL_2 long dimension 5 fill; */ /* end CLASSMAX; */ /* */ } PRB; #if !defined(__VAXC) #define prb$w_flags prb$r_fill_0_.prb$w_flags #define prb$v_uic prb$r_fill_0_.prb$r_fill_1_.prb$v_uic #define prb$v_acl prb$r_fill_0_.prb$r_fill_1_.prb$v_acl #define prb$v_class prb$r_fill_0_.prb$r_fill_1_.prb$v_class #define prb$v_classmax prb$r_fill_0_.prb$r_fill_1_.prb$v_classmax #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 /* __PRBDEF_LOADED */