home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / utilities / utilsd / dataaof / Source / h / Data2AOF
Encoding:
Text File  |  1995-07-03  |  706 b   |  57 lines

  1. /*
  2.         Data2AOF.h
  3.         Copyright © 1995 A. M. Pereira
  4.  
  5.         History:
  6.             Mon 03rd Jul 95 AMP - created
  7. */
  8.  
  9. /* Size of AOF file with no label and no data */
  10. #define AOFSIZE 322
  11.  
  12.  
  13. typedef struct
  14. {
  15.     int             chunkfileid;
  16.     int             maxchunks;
  17.     int             numchunks;
  18. } chunkfile;
  19.  
  20. typedef struct
  21. {
  22.     char         id[8];
  23.     int             offset;
  24.     int             size;
  25. } chunkheader;
  26.  
  27. typedef struct
  28. {
  29.     int             symbol;
  30.     int             type;
  31.     int             value;
  32.     int             area;
  33. } symtentry;
  34.  
  35. typedef struct
  36. {
  37.     int             id;
  38.     int             aofver;
  39.     int             areas;
  40.     int             symbols;
  41.     int             entryarea;
  42.     int             entryoffset;
  43. } objhead;
  44.  
  45. typedef struct
  46. {
  47.     int             name;
  48.     char         al;
  49.     char         at;
  50.     char         dummy1;
  51.     char         dummy2;
  52.     int             size;
  53.     int             numreloc;
  54.     int             resvd;
  55. } areaheader;
  56.  
  57.