/* * * OBJFMT -- module header record (MHD) */ #ifndef _MHDEF_H #define _MHDEF_H /* types of header records */ #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 */ struct mhdef { unsigned char mhd$b_rectyp; /* record type (OBJ$C_MHD) */ unsigned char mhd$b_hdrtyp; /* type field for MHD */ unsigned char mhd$b_strlvl; /* structure level */ unsigned short mhd$w_recsiz; /* maximum record size */ unsigned char mhd$b_namlng; /* module name length */ char mhd$t_name[31]; /* module name */ /* module version (ASCIC) */ /* creation date/time (17 bytes) */ /* time of last patch (17 bytes) */ }; #endif /*_MHDEF_H*/