/********************************************************************************************************************************/ /* 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 $PROMDEF ***/ #ifndef __PROMDEF_LOADED #define __PROMDEF_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 /* */ /* GSD entry - Procedure definition, version mask symbols */ /* */ #define PROM$K_NAME 16 #define PROM$C_NAME 16 #ifdef __NEW_STARLET typedef struct _promdef { __union { unsigned char prom$b_gsdtyp; /*Maps over GSY$B_GSDTYP */ __struct { char promdef$$_fill_1; } prom$r_gsdtyp_fields; } prom$r_gsdtyp_overlay; unsigned char prom$b_datyp; /*Maps over GSY$B_DATYP */ unsigned short int prom$w_flags; /*Maps over GSY$W_FLAGS */ unsigned char prom$b_psindx; /*Maps over SDF$B_PSINDX */ unsigned int prom$l_addrs; /*Entry point address, maps over SDF$L_VALUE */ unsigned int prom$l_version_mask; /*Mask value for symbol */ unsigned short int prom$w_mask; /*Entry point mask */ unsigned char prom$b_namlng; /*Length of name */ char prom$t_name [31]; /*Symbol name */ } PROMDEF; #if !defined(__VAXC) #define prom$b_gsdtyp prom$r_gsdtyp_overlay.prom$b_gsdtyp #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct promdef { __union { unsigned char prom$b_gsdtyp; /*Maps over GSY$B_GSDTYP */ __struct { char promdef$$_fill_1; } prom$r_gsdtyp_fields; } prom$r_gsdtyp_overlay; unsigned char prom$b_datyp; /*Maps over GSY$B_DATYP */ unsigned short int prom$w_flags; /*Maps over GSY$W_FLAGS */ unsigned char prom$b_psindx; /*Maps over SDF$B_PSINDX */ unsigned int prom$l_addrs; /*Entry point address, maps over SDF$L_VALUE */ unsigned int prom$l_version_mask; /*Mask value for symbol */ unsigned short int prom$w_mask; /*Entry point mask */ unsigned char prom$b_namlng; /*Length of name */ char prom$t_name [31]; /*Symbol name */ } ; #if !defined(__VAXC) #define prom$b_gsdtyp prom$r_gsdtyp_overlay.prom$b_gsdtyp #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 /* __PROMDEF_LOADED */