home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / pOSxA.lzx / pOSxA / exec / devices.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-12  |  703 b   |  42 lines

  1. #ifndef    EXEC_DEVICES_H
  2. #define    EXEC_DEVICES_H
  3.  
  4. /*******************************************************************
  5.  pOS / Amiga adapt
  6. *******************************************************************/
  7.  
  8. #ifndef EXEC_TYPES_H
  9. #include <exec/types.h>
  10. #endif
  11. #ifndef __INC_POS_PEXEC_DEVICE_H
  12. #include <p:pExec/Device.h>
  13. #endif
  14. #ifndef EXEC_LIBRARIES_H
  15. #include <exec/libraries.h>
  16. #endif
  17. #ifndef EXEC_PORTS_H
  18. #include <exec/ports.h>
  19. #endif
  20.  
  21.  
  22. struct Device
  23. {
  24.   struct Library dd_Library;
  25. };
  26.  
  27. struct Unit
  28. {
  29.   struct MsgPort unit_MsgPort;
  30.   UBYTE   unit_Flags;
  31.   UBYTE   unit_pad;
  32.   UWORD   unit_OpenCnt;
  33. };
  34.  
  35.  
  36.  
  37. #define UNITF_ACTIVE    UNITF_Active
  38. #define UNITF_INTASK    UNITF_InTask
  39.  
  40.  
  41. #endif    /* EXEC_DEVICES_H */
  42.