/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:02 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:00 $1$DGA8085:[STARLET_H.SRC]LBRUSR.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $LBRCTLTBL ***/ #ifndef __LBRCTLTBL_LOADED #define __LBRCTLTBL_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 #define LBR$C_CTLTBLID 203 /* Ident for control table */ #define LBR$M_LOCATE 0x1 #define LBR$M_OPEN 0x2 #define LBR$K_LENGTH 30 #define LBR$C_LENGTH 30 #ifdef __NEW_STARLET typedef struct _lbrctltbl { unsigned char lbr$b_id; /* Control table ID */ unsigned char lbr$b_tblsiz; /* Control table size */ unsigned char lbr$b_type; /* Type of library opened */ unsigned char lbr$b_func; /* Operation (function) requested */ char lbrctltbl$$_fill_1 [2]; /* Reserved extra bytes */ __union { unsigned int lbr$l_usrflg; /* Flags longword */ __struct { unsigned lbr$v_locate : 1; /* Use "locate" rather than "move" mode */ unsigned lbr$v_open : 1; /* Library open */ unsigned lbr$v_fill_0_ : 6; } lbr$r_usrflg_bits; } lbr$r_usrflg_overlay; unsigned int lbr$l_hdrptr; /* Pointer to in-core header */ unsigned int lbr$l_ctxptr; /* Pointer to context control block */ unsigned int lbr$l_curidx; /* Number of current index */ unsigned int lbr$l_usrnam; /* Pointer to user NAM block */ unsigned int lbr$l_oldhdrptr; /* Pointer to unmodified in-core header block */ } LBRCTLTBL; #if !defined(__VAXC) #define lbr$l_usrflg lbr$r_usrflg_overlay.lbr$l_usrflg #define lbr$r_usrflg_bits lbr$r_usrflg_overlay.lbr$r_usrflg_bits #define lbr$v_locate lbr$r_usrflg_bits.lbr$v_locate #define lbr$v_open lbr$r_usrflg_bits.lbr$v_open #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct lbrctltbl { unsigned char lbr$b_id; /* Control table ID */ unsigned char lbr$b_tblsiz; /* Control table size */ unsigned char lbr$b_type; /* Type of library opened */ unsigned char lbr$b_func; /* Operation (function) requested */ char lbrctltbl$$_fill_1 [2]; /* Reserved extra bytes */ __union { unsigned int lbr$l_usrflg; /* Flags longword */ __struct { unsigned lbr$v_locate : 1; /* Use "locate" rather than "move" mode */ unsigned lbr$v_open : 1; /* Library open */ unsigned lbr$v_fill_0_ : 6; } lbr$r_usrflg_bits; } lbr$r_usrflg_overlay; unsigned int lbr$l_hdrptr; /* Pointer to in-core header */ unsigned int lbr$l_ctxptr; /* Pointer to context control block */ unsigned int lbr$l_curidx; /* Number of current index */ unsigned int lbr$l_usrnam; /* Pointer to user NAM block */ unsigned int lbr$l_oldhdrptr; /* Pointer to unmodified in-core header block */ } ; #if !defined(__VAXC) #define lbr$l_usrflg lbr$r_usrflg_overlay.lbr$l_usrflg #define lbr$v_locate lbr$r_usrflg_overlay.lbr$r_usrflg_bits.lbr$v_locate #define lbr$v_open lbr$r_usrflg_overlay.lbr$r_usrflg_bits.lbr$v_open #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #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 /* __LBRCTLTBL_LOADED */