/********************************************************************************************************************************/ /* 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 $MHDEF ***/ #ifndef __MHDEF_LOADED #define __MHDEF_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 /* */ /* Module header record (MHD) */ /* */ #define MHD$C_MHD 0 /*Main header record */ #define MHD$C_LNM 1 /*Language name and version */ #define MHD$C_SRC 2 /*Source file specification */ #define MHD$C_TTL 3 /*Title text of module */ #define MHD$C_CPR 4 /*Copyright notice */ #define MHD$C_MTC 5 /*Maintenence status */ #define MHD$C_GTX 6 /*General text */ #define MHD$C_MAXHDRTYP 6 /*Maximum allowable type */ #ifdef __NEW_STARLET typedef struct _mhdef { unsigned char mhd$b_rectyp; /*Record type (OBJ$C_MHD) */ unsigned char mhd$b_hdrtyp; /*Type field for MHD */ /*Types of header records */ unsigned char mhd$b_strlvl; /*Structure level */ unsigned short int mhd$w_recsiz; /*Maximum record size */ unsigned char mhd$b_namlng; /*Module name length */ char mhd$t_name [31]; /*Module name */ } MHDEF; #else /* __OLD_STARLET */ struct mhdef { unsigned char mhd$b_rectyp; /*Record type (OBJ$C_MHD) */ unsigned char mhd$b_hdrtyp; /*Type field for MHD */ /*Types of header records */ unsigned char mhd$b_strlvl; /*Structure level */ unsigned short int mhd$w_recsiz; /*Maximum record size */ unsigned char mhd$b_namlng; /*Module name length */ char mhd$t_name [31]; /*Module name */ } ; #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 /* __MHDEF_LOADED */