/* Description of LIF volume and file headers. */ struct lif_vollbl { short l_w0; /* must be 01000000 */ char l_vlbl[6]; long l_dstart; /* usually 2 */ short l_w6; /* 01000 */ short l_w7; /* 0 */ long l_dirlen; /* directory length */ /* plus more later */ }; /* sector 1 is all 0; rest of sector 0 is zeros */ struct lif_filent { char l_filnam[10]; short l_filtyp; long l_startsec; long l_fillen; char l_create_time[6]; /* 12 bcd digits */ short l_flagwd; /* bool : 1 -- last volume */ /* int : 15 -- volume numter */ /* always T,1 */ union { struct { short l_pcode; /* impl. dep. -- pc on 9826 */ unsigned short l_lrecsiz; /* impl. dep. -- lrs on 9826 */ } l_impl; long l_startexec; /* start exec for system file */ } l_un; }; typedef struct lif_filent lif_filtab[]; /* this is an array starting in sector 2 */ #define LIF_ASCII 1 #define LIF_SYSTEM -5822 #define LIF_EMPTY 0 #define LIF_END_DIR -1 #define L_SECTORSIZE 0x100