/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $OSSDEF ***/ #ifndef __OSSDEF_LOADED #define __OSSDEF_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 /*+ */ /* Object Security Service processing flag */ /* and itemcode definitions. */ /*- */ #define OSS$M_WLOCK 0x1 #define OSS$M_RELCTX 0x2 #define OSS$M_LOCAL 0x4 #ifdef __NEW_STARLET typedef struct _ossdef { __struct { unsigned oss$v_wlock : 1; /* Maintain Write lock */ unsigned oss$v_relctx : 1; /* Release context */ unsigned oss$v_local : 1; /* update local profile only */ unsigned oss$v_fill_48_ : 5; } oss$r_flags_bits; } OSSDEF; #if !defined(__VAXC) #define oss$v_wlock oss$r_flags_bits.oss$v_wlock #define oss$v_relctx oss$r_flags_bits.oss$v_relctx #define oss$v_local oss$r_flags_bits.oss$v_local #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct ossdef { __struct { unsigned oss$v_wlock : 1; /* Maintain Write lock */ unsigned oss$v_relctx : 1; /* Release context */ unsigned oss$v_local : 1; /* update local profile only */ unsigned oss$v_fill_48_ : 5; } oss$r_flags_bits; } ; #if !defined(__VAXC) #define oss$v_wlock oss$r_flags_bits.oss$v_wlock #define oss$v_relctx oss$r_flags_bits.oss$v_relctx #define oss$v_local oss$r_flags_bits.oss$v_local #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define OSS$_ACCESS_NAMES 1 /* */ #define OSS$_ACCESS_NAMES_LENGTH 2 /* */ #define OSS$_ACL_ADD_ENTRY 3 /* */ #define OSS$_ACL_DELETE_ENTRY 4 /* */ #define OSS$_ACL_DELETE 5 /* */ #define OSS$_ACL_DELETE_ALL 6 /* */ #define OSS$_ACL_FIND_ENTRY 7 /* */ #define OSS$_ACL_FIND_NEXT 8 /* */ #define OSS$_ACL_FIND_TYPE 9 /* */ #define OSS$_ACL_GRANT_ACE 10 /* */ #define OSS$_ACL_LENGTH 11 /* */ #define OSS$_ACL_MODIFY_ENTRY 12 /* */ #define OSS$_ACL_POSITION 13 /* */ #define OSS$_ACL_POSITION_TOP 14 /* */ #define OSS$_ACL_POSITION_BOTTOM 15 /* */ #define OSS$_ACL_READ_ENTRY 16 /* */ #define OSS$_ACL_READ 17 /* */ #define OSS$_MAX_CLASS 18 /* */ #define OSS$_MIN_CLASS 19 /* */ #define OSS$_NEXT_OBJECT 20 /* */ #define OSS$_OWNER 21 /* */ #define OSS$_PROTECTION 22 /* */ #define OSS$_SYS_PROT 23 /* */ #define OSS$_OWN_PROT 24 /* */ #define OSS$_GRP_PROT 25 /* */ #define OSS$_WOR_PROT 26 /* */ #define OSS$_CLASS_NAME 27 /* */ #define OSS$_FIRST_TEMPLATE 28 /* */ #define OSS$_NEXT_TEMPLATE 29 /* */ #define OSS$_OBJECT_NAME 30 /* */ #define OSS$_ACCESS_CLASS_NAME 31 /* */ #define OSS$_DAMAGED_ACL 32 /* */ #define OSS$_IN_TRANSITION 33 /* */ #define OSS$_TRANQUILITY_COUNT 34 #define OSS$_POSIX_GID 35 /* Posix Group ID */ #define OSS$_POSIX_GRP_MODE 36 /* Posix Group Mode Permission */ #define OSS$_POSIX_MODE 37 /* Posix Mode Permissions (all) */ #define OSS$_POSIX_SGID 38 /* Posix SETGID Effective Group ID */ #define OSS$_POSIX_SUID 39 /* Posix SETUID Effective User ID */ #define OSS$_ACCESS_BITNAMES 1 #define OSS$_ACCESS_BITNAMES_LENGTH 2 #define OSS$_ACL_ADDACE 3 #define OSS$_ACL_DELACE 4 #define OSS$_ACL_FNDACE 7 #define OSS$_ACL_FNDNXT 8 #define OSS$_ACL_FNDTYP 9 #define OSS$_ACL_MODACE 12 #define OSS$_ACL_READACE 16 #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 /* __OSSDEF_LOADED */