home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / Programme_zum_Heft / Programmieren / Kurztests / DiceC / include / pd / fifo.h < prev    next >
C/C++ Source or Header  |  1994-02-01  |  766b  |  30 lines

  1.  
  2. /*
  3.  *  FIFO.H
  4.  *
  5.  *  PUBLIC FIFO STRUCTURES AND DEFINES
  6.  */
  7.  
  8. #ifndef LIBRARIES_FIFO_H
  9. #define LIBRARIES_FIFO_H
  10.  
  11. #define FIFONAME    "fifo.library"
  12.  
  13. #define FIFOF_READ      0x00000100L      /*  intend to read from fifo      */
  14. #define FIFOF_WRITE      0x00000200L      /*  intend to write to fifo      */
  15. #define FIFOF_RESERVED      0xFFFF0000L      /*  reserved for internal use   */
  16. #define FIFOF_NORMAL      0x00000400L      /*  request blocking/sig support*/
  17. #define FIFOF_NBIO      0x00000800L      /*  non-blocking IO          */
  18.  
  19. #define FIFOF_KEEPIFD      0x00002000L      /*  keep fifo alive if data pending */
  20. #define FIFOF_EOF      0x00004000L      /*  EOF on close              */
  21.  
  22. #define FREQ_RPEND    1
  23. #define FREQ_WAVAIL    2
  24. #define FREQ_ABORT    3
  25.  
  26. typedef void *FifoHan;              /*  returned by OpenFifo()  */
  27.  
  28. #endif
  29.  
  30.