/***************************************************************************/ /** **/ /** 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:40 by OpenVMS SDL V3.7 */ /* Source: 16-JUN-2017 10:43:39 $1$DGA8345:[LIB_H.SRC]RIGHTSDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $RIGHTSDEF ***/ #ifndef __RIGHTSDEF_LOADED #define __RIGHTSDEF_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 /* */ /* RightsList structure definitions */ /* */ #define ID$K_LENGTH 8 /* Length of ID$ structure */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif typedef struct _id { #pragma __nomember_alignment unsigned int id$l_value; /* Binary identifier value */ unsigned int id$l_flags; /* Flags associated with identifier */ } ID; #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif typedef struct _rights { #pragma __nomember_alignment struct _rights *rights$l_flink; /* Standard listhead forward link */ struct _rights *rights$l_blink; /* Standard listhead backward link */ unsigned short int rights$w_size; /* Standard structure size, in bytes */ unsigned char rights$b_type; /* Standard type code for RIGHTS (DYN$C_SECURITY) */ unsigned char rights$b_subtype; /* Standard subtype code (DYN$C_SECURITY_RIGHTS) */ struct _rights *rights$l_debug_flink; /* Forward link to next Rightslist in system (DEBUG) */ struct _rights *rights$l_debug_blink; /* Backward link to next Rightslist in system (DEBUG) */ unsigned int rights$l_debug_pid; /* PID of process which allocated this PCB (DEBUG) */ unsigned int rights$l_refcount; /* */ unsigned int rights$l_id_count; /* Number of identifiers that array can hold */ unsigned int rights$l_id_used; /* Number of identifiers currently stored in array */ /* */ /* The following two locations must be kept adjacent, as they are */ /* treated as a descriptor that points at the rights data */ /* */ unsigned int rights$l_id_length; /* Number of bytes taken up by ID_USED */ struct _id *rights$a_id_array; /* Address of identifier array */ #if defined(__VAXC) char rights$t_identifiers[]; #else #define rights$t_identifiers rights$b_fill_0_ #endif /* #if defined(__VAXC) */ char rights$b_fill_0_ [4]; } RIGHTS; #define RIGHTS$K_LENGTH 48 /* Length of RIGHTS$ structure */ /* */ /* The following constants are assigned values chosen for no */ /* reason other than they seemed appropriate at the time. */ /* */ #define RIGHTS$K_INITIAL_IDENTIFIERS 16 /* Initial allocation */ #define RIGHTS$K_COUNT_IDENTIFIERS 64 /* expantion allocation */ #define RIGHTS$K_MAX_IDENTIFIERS 528 # ifdef __INITIAL_POINTER_SIZE # pragma __required_pointer_size __save /* Save current pointer size */ # pragma __required_pointer_size 32 /* And set ptr size default to 32-bit pointers */ typedef struct _rights * RIGHTS_ps; /* 32-bit pointer signed to a rights block */ # pragma __required_pointer_size __restore /* Return to previous pointer size */ # else typedef signed __int32 RIGHTS_ps; /* Same size as a 32-bit pointer signed to a rights block */ # endif #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 /* __RIGHTSDEF_LOADED */