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

  1. #ifndef REXX_REXXIO_H
  2. #define REXX_REXXIO_H
  3.  
  4. #ifndef REXX_STORAGE_H
  5. #include <rexx/storage.h>
  6. #endif
  7.  
  8. #define RXBUFFSZ  204
  9.  
  10. struct IoBuff
  11. {
  12.   struct RexxRsrc iobNode;
  13.   APTR      iobRpt;
  14.   SLONG     iobRct;
  15.   SLONG     iobDFH;
  16.   APTR      iobLock;
  17.   SLONG     iobBct;
  18.   CHAR      iobArea[RXBUFFSZ];
  19. };
  20.  
  21. #define RXIO_EXIST   -1
  22. #define RXIO_STRF    0
  23. #define RXIO_READ    1
  24. #define RXIO_WRITE   2
  25. #define RXIO_APPEND  3
  26.  
  27. #define RXIO_BEGIN   -1
  28. #define RXIO_CURR     0
  29. #define RXIO_END      1
  30.  
  31. #define LLOFFSET(rrp) (rrp->rr_Arg1)
  32. #define LLVERS(rrp)   (rrp->rr_Arg2)
  33. #define CLVALUE(rrp) ((STRPTR) rrp->rr_Arg1)
  34.  
  35. struct RexxMsgPort
  36. {
  37.   struct RexxRsrc rmp_Node;
  38.   struct MsgPort  rmp_Port;
  39.   struct List     rmp_ReplyList;
  40. };
  41.  
  42. #define DT_DEV  0
  43. #define DT_DIR  1
  44. #define DT_VOL  2
  45.  
  46. //#define ACTION_STACK 2002L
  47. //#define ACTION_QUEUE 2003L
  48.  
  49. #endif
  50.