home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Reference_Library / lib_examples / samplebase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-21  |  595 b   |  29 lines

  1. /* samplebase.h -- C include file defining sample.library base */
  2.  
  3. #ifndef SAMPLE_BASE_H
  4. #define SAMPLE_BASE_H
  5.  
  6. #ifndef  EXEC_TYPES_H
  7. #include  <exec/types.h>
  8. #endif   EXEC_TYPES_H
  9.  
  10. #ifndef  EXEC_LIBRARIES_H
  11. #include <exec/libraries.h>
  12. #endif   EXEC_LIBRARIES_H
  13.  
  14. /* library data structures-- Note that the library base begins with a library node */
  15.  
  16. struct SampleBase {
  17.    struct Library LibNode;
  18.    UBYTE  Flags;
  19.    UBYTE  pad;
  20.    /* We are now longword aligned */
  21.    ULONG  SysLib;
  22.    ULONG  DosLib;
  23.    ULONG  SegList;
  24.    };
  25.  
  26. #define SAMPLENAME   "sample.library"
  27.  
  28. #endif  /* SAMPLE_BASE_H */
  29.