1988-02-18 10:22:14 +00:00
|
|
|
#define MAXCHUNK 5
|
2006-07-18 16:48:21 +00:00
|
|
|
|
|
|
|
/* Undefined by dtrg --- seems to be redefined by cv.c?
|
|
|
|
* #define NSECT 4
|
|
|
|
*/
|
1988-02-18 10:22:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
struct entry{
|
|
|
|
char chunkid[8];
|
|
|
|
long offset;
|
|
|
|
long size;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct armhead{
|
|
|
|
long chunkfileid;
|
|
|
|
long maxchunks;
|
|
|
|
long numchunks;
|
|
|
|
struct entry entries[MAXCHUNK];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct chunkhead{
|
|
|
|
long objtype;
|
|
|
|
long versionid;
|
|
|
|
long narea;
|
|
|
|
long nsymb;
|
|
|
|
long entrya;
|
|
|
|
long entryo;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct areadec{
|
|
|
|
long name;
|
|
|
|
long atal;
|
|
|
|
long size;
|
|
|
|
long nrel;
|
|
|
|
long base;
|
|
|
|
};
|
|
|
|
|