/***************************************************************************/ /** **/ /** 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:46 by OpenVMS SDL V3.7 */ /* Source: 18-MAY-1993 16:19:43 $1$DGA8345:[LIB_H.SRC]OLCKDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $OLCKDEF ***/ #ifndef __OLCKDEF_LOADED #define __OLCKDEF_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 /*+ */ /* OLCK - ORB LOCK */ /* */ /* This structures contains information about an outstanding LOCK */ /* on the Object Rights Block of a specific resourse. It is */ /* maintained in a per process database (CTL$GQ_ORB_LOCKDB) used */ /* to control ACL modifications through $CHANGE_ACL. */ /* */ /*- */ #define OLCK$M_RESV_1 0x1 #define OLCK$K_FIXED_LEN 30 /* Fixed length */ #define OLCK$K_MAX_RSN 33 /* Maximum resource name */ #define OLCK$S_OLCKDEF 30 /* Old size name - synonym */ typedef struct _olck { void *olck$l_flink; /* Forward link */ void *olck$l_blink; /* Backward link */ unsigned short int olck$w_size; /* Allocation size */ unsigned char olck$b_type; /* Structure type */ unsigned char olck$b_stype; /* Subtype */ unsigned int olck$l_lockid; /* Lockid */ unsigned char olck$b_prv_lkmode; /* Previous lock mode */ unsigned char olck$b_cur_lkmode; /* Current lock mode */ __union { unsigned short int olck$w_flags; /* Processing flags */ __struct { unsigned olck$v_resv_1 : 1; /* reserved for future */ unsigned olck$v_fill_0_ : 7; } olck$r_flags_bits; } olck$r_flags_overlay; unsigned int olck$l_resv_1; /* Reserved */ unsigned int olck$l_resv_2; /* for future use */ unsigned short int olck$w_rsn_size; /* Size of resource name */ #if defined(__VAXC) char olck$t_rsn[]; #else /* Warning: empty char[] member for olck$t_rsn at end of structure not created */ #endif /* #if defined(__VAXC) */ } OLCK; #if !defined(__VAXC) #define olck$w_flags olck$r_flags_overlay.olck$w_flags #define olck$v_resv_1 olck$r_flags_overlay.olck$r_flags_bits.olck$v_resv_1 #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 /* __OLCKDEF_LOADED */