/***************************************************************************/ /** **/ /** 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:39 by OpenVMS SDL V3.7 */ /* Source: 22-APR-1993 13:47:28 $1$DGA8345:[LIB_H.SRC]RDIDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $RDIDEF ***/ #ifndef __RDIDEF_LOADED #define __RDIDEF_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 /*++ */ /* Rights Database Identifier Block definitions: This structure contains the */ /* RMS Internal File Identifiers (IFI's) and Internal Stream Identifiers */ /* (ISI's) for the rights database. This structure is allocated from the */ /* process allocation region pool. */ /*-- */ #define RDI$K_ISI_MAX 10 /* Maximum number of concurrent record streams */ #define RDI$M_READ_CHECK 0x1 #define RDI$M_READ_ACCESS 0x2 #define RDI$S_RDIDEF 64 typedef struct _rdi { unsigned int rdi$l_size; /* Size of allocated block */ unsigned int rdi$l_ifi_read; /* Internal File Identifier for read operations */ unsigned int rdi$l_ifi_write; /* Internal File Identifier for write operations */ unsigned int rdi$l_read_channel; /* Holds channel used for reading RDB. */ __union { unsigned int rdi$l_flags; /* Flags longword */ __struct { unsigned rdi$v_read_check : 1; /* Set if read access checked */ unsigned rdi$v_read_access : 1; /* Set if there is read access to RDB */ unsigned rdi$v_fill_0_ : 6; } rdi$r_flags_bits; } rdi$r_flags_overlay; unsigned int rdi$l_isi_vec [11]; /* Internal Stream Identifier vector */ } RDI; #if !defined(__VAXC) #define rdi$l_flags rdi$r_flags_overlay.rdi$l_flags #define rdi$v_read_check rdi$r_flags_overlay.rdi$r_flags_bits.rdi$v_read_check #define rdi$v_read_access rdi$r_flags_overlay.rdi$r_flags_bits.rdi$v_read_access #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 /* __RDIDEF_LOADED */