/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:26:58 by OpenVMS SDL EV3-3 */ /* Source: 20-APR-1993 14:46:44 $1$DGA7274:[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 */