/********************************************************************************************************************************/ /* 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 $CREDEF ***/ #ifndef __CREDEF_LOADED #define __CREDEF_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 /* */ /* Create options table */ /* */ #define CRE$C_VMSV2 2 /* VMS version V04-000 format */ #define CRE$C_VMSV3 3 /* VMS version 3 format */ #define CRE$C_VMSV4 4 /* VMS version 4 format for an ELF files. */ #define CRE$C_VMSV5 5 /* VMS version 5 format for an ELF files. */ #define CRE$C_VMSV6 6 /* VMS version 6 format for an ELF files. */ #define CRE$M_NOCASECMP 0x1 #define CRE$M_NOCASENTR 0x2 #define CRE$M_UPCASNTRY 0x4 #define CRE$C_HLPCASING 6 /* Treat upper casing as it is for HELP libs */ #define CRE$C_OBJCASING 3 /* Treat upper casing as it is for OBJECT libs */ #define CRE$C_MACTXTCAS 0 /* Treat upper casing as it is for MACRO and TEXT libs */ #define CRE$K_LENGTH 80 /* */ #define CRE$C_LENGTH 80 /* */ #ifdef __NEW_STARLET typedef struct _credef { unsigned int cre$l_type; /* Type of library */ /* (library types defined in $LBRDEF) */ unsigned int cre$l_keylen; /* Length of keys in library */ unsigned int cre$l_alloc; /* Initial file allocation */ unsigned int cre$l_idxmax; /* Maximum number of indices */ unsigned int cre$l_uhdmax; /* Size of additional module header data */ unsigned int cre$l_entall; /* Number of index entries to pre-allocate */ unsigned int cre$l_luhmax; /* Number of library update history records to store */ unsigned int cre$l_vertyp; /* Version type of library to create */ __union { unsigned int cre$l_idxopt; /* Index options */ __struct { unsigned cre$v_nocasecmp : 1; /* Do not upper case the match key */ unsigned cre$v_nocasentr : 1; /* Do not upper case the index key when comparing with a match key */ unsigned cre$v_upcasntry : 1; /* Upper case the index key when entering it into the library */ unsigned cre$v_fill_4_ : 5; } cre$r_idxopt_bits; } cre$r_idxopt_overlay; int credef$$_fill_1 [11]; /* Reserved 11 longwords */ } CREDEF; #if !defined(__VAXC) #define cre$l_idxopt cre$r_idxopt_overlay.cre$l_idxopt #define cre$r_idxopt_bits cre$r_idxopt_overlay.cre$r_idxopt_bits #define cre$v_nocasecmp cre$r_idxopt_bits.cre$v_nocasecmp #define cre$v_nocasentr cre$r_idxopt_bits.cre$v_nocasentr #define cre$v_upcasntry cre$r_idxopt_bits.cre$v_upcasntry #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct credef { unsigned int cre$l_type; /* Type of library */ /* (library types defined in $LBRDEF) */ unsigned int cre$l_keylen; /* Length of keys in library */ unsigned int cre$l_alloc; /* Initial file allocation */ unsigned int cre$l_idxmax; /* Maximum number of indices */ unsigned int cre$l_uhdmax; /* Size of additional module header data */ unsigned int cre$l_entall; /* Number of index entries to pre-allocate */ unsigned int cre$l_luhmax; /* Number of library update history records to store */ unsigned int cre$l_vertyp; /* Version type of library to create */ __union { unsigned int cre$l_idxopt; /* Index options */ __struct { unsigned cre$v_nocasecmp : 1; /* Do not upper case the match key */ unsigned cre$v_nocasentr : 1; /* Do not upper case the index key when comparing with a match key */ unsigned cre$v_upcasntry : 1; /* Upper case the index key when entering it into the library */ unsigned cre$v_fill_4_ : 5; } cre$r_idxopt_bits; } cre$r_idxopt_overlay; int credef$$_fill_1 [11]; /* Reserved 11 longwords */ } ; #if !defined(__VAXC) #define cre$l_idxopt cre$r_idxopt_overlay.cre$l_idxopt #define cre$v_nocasecmp cre$r_idxopt_overlay.cre$r_idxopt_bits.cre$v_nocasecmp #define cre$v_nocasentr cre$r_idxopt_overlay.cre$r_idxopt_bits.cre$v_nocasentr #define cre$v_upcasntry cre$r_idxopt_overlay.cre$r_idxopt_bits.cre$v_upcasntry #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 /* __CREDEF_LOADED */