/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:03 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]OBJFMT.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $IDCDEF ***/ #ifndef __IDCDEF_LOADED #define __IDCDEF_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 /* */ /* IDC - Random entity ident consistency check */ /* */ #define IDC$C_LEQ 0 #define IDC$C_EQUAL 1 #ifdef __NEW_STARLET typedef struct _idcdef { unsigned char idc$b_gsdtyp; /*Type field */ __union { unsigned short int idc$w_flags; /*Flags */ __struct { unsigned idc$v_binident : 1; /*Ident is binary longword rather than ASCIC */ unsigned idc$v_idmatch : 2; /*Field for ident match control if binary ident */ unsigned idc$v_errsev : 3; /*Error severity (default is warning-0) */ unsigned idc$v_fill_19_ : 2; } idc$r_flags_bits; /*Match control values */ } idc$r_flags_overlay; __union { unsigned char idc$b_namlng; /*Length of entity name */ __struct { char idcdef$$_fill_1; /* Followed by entity name */ /* Followed by */ /* byte of ident length */ /* ident string (length = string length) */ /* or */ /* ident binary value (length = 4) */ /* Followed by byte of length of name of object */ /* Followed by the object name */ } idc$r_namlng_fields; } idc$r_namlng_overlay; } IDCDEF; #if !defined(__VAXC) #define idc$w_flags idc$r_flags_overlay.idc$w_flags #define idc$v_binident idc$r_flags_overlay.idc$r_flags_bits.idc$v_binident #define idc$v_idmatch idc$r_flags_overlay.idc$r_flags_bits.idc$v_idmatch #define idc$v_errsev idc$r_flags_overlay.idc$r_flags_bits.idc$v_errsev #define idc$b_namlng idc$r_namlng_overlay.idc$b_namlng #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct idcdef { unsigned char idc$b_gsdtyp; /*Type field */ __union { unsigned short int idc$w_flags; /*Flags */ __struct { unsigned idc$v_binident : 1; /*Ident is binary longword rather than ASCIC */ unsigned idc$v_idmatch : 2; /*Field for ident match control if binary ident */ unsigned idc$v_errsev : 3; /*Error severity (default is warning-0) */ unsigned idc$v_fill_19_ : 2; } idc$r_flags_bits; /*Match control values */ } idc$r_flags_overlay; __union { unsigned char idc$b_namlng; /*Length of entity name */ __struct { char idcdef$$_fill_1; /* Followed by entity name */ /* Followed by */ /* byte of ident length */ /* ident string (length = string length) */ /* or */ /* ident binary value (length = 4) */ /* Followed by byte of length of name of object */ /* Followed by the object name */ } idc$r_namlng_fields; } idc$r_namlng_overlay; } ; #if !defined(__VAXC) #define idc$w_flags idc$r_flags_overlay.idc$w_flags #define idc$v_binident idc$r_flags_overlay.idc$r_flags_bits.idc$v_binident #define idc$v_idmatch idc$r_flags_overlay.idc$r_flags_bits.idc$v_idmatch #define idc$v_errsev idc$r_flags_overlay.idc$r_flags_bits.idc$v_errsev #define idc$b_namlng idc$r_namlng_overlay.idc$b_namlng #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 /* __IDCDEF_LOADED */