/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:21 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:36 _$11$DUA933:[BUILD.SDL]LBRUSR.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $LBRCTLTBL ***/ #ifndef __LBRCTLTBL_LOADED #define __LBRCTLTBL_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #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 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) && !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) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __LBRCTLTBL_LOADED */