home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Inc&AD1.3 / Includes / libraries / expansionbase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-12  |  1.1 KB  |  61 lines

  1. #ifndef LIBRARIES_EXPANSIONBASE_H
  2. #define LIBRARIES_EXPANSIONBASE_H
  3. /*
  4. **    $Filename: libraries/expansionbase.h $
  5. **    $Release: 1.3 $
  6. **
  7. **    
  8. **
  9. **    (C) Copyright 1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include "exec/types.h"
  15. #endif    !EXEC_TYPES_H
  16.  
  17. #ifndef EXEC_LIBRARIES_H
  18. #include "exec/libraries.h"
  19. #endif    !EXEC_LIBRARIES_H
  20.  
  21. #ifndef EXEC_INTERRUPTS_H
  22. #include "exec/interrupts.h"
  23. #endif    !EXEC_INTERRUPTS_H
  24.  
  25. #ifndef EXEC_SEMAPHORES_H
  26. #include "exec/semaphores.h"
  27. #endif    !EXEC_SEMAPHORES_H
  28.  
  29. #ifndef LIBRARIES_CONFIGVARS_H
  30. #include "libraries/configvars.h"
  31. #endif    !LIBRARIES_CONFIGVARS_H
  32.  
  33. #define TOTALSLOTS 256
  34.  
  35. struct ExpansionInt
  36. {
  37.     UWORD    IntMask;
  38.     UWORD    ArrayMax;
  39.     UWORD    ArraySize;
  40. };
  41.  
  42.  
  43. struct    ExpansionBase
  44. {
  45.     struct Library    LibNode;
  46.     UBYTE    Flags;
  47.     UBYTE    pad;
  48.     APTR    ExecBase;
  49.     APTR    SegList;
  50.     struct    CurrentBinding    CurrentBinding;
  51.     struct    List    BoardList;
  52.     struct    List    MountList;
  53.     UBYTE    AllocTable[TOTALSLOTS];
  54.     struct    SignalSemaphore BindSemaphore;
  55.     struct    Interrupt    Int2List;
  56.     struct    Interrupt    Int6List;
  57.     struct    Interrupt    Int7List;
  58. };
  59.  
  60. #endif    /* LIBRARIES_EXPANSIONBASE_H */
  61.