home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
fifolib-38.3-bin.lha
/
include
/
libraries
/
fifo.h
Wrap
C/C++ Source or Header
|
1996-10-12
|
957b
|
33 lines
/*
* FIFO.H
*
* PUBLIC FIFO STRUCTURES AND DEFINES
*/
#ifndef LIBRARIES_FIFO_H
#define LIBRARIES_FIFO_H
#define FIFONAME "fifo.library"
/* Custom packets should be registered, I disassembled fifo-handler to get this value */
#define ACTION_REQUEST 5000
#define FIFOF_READ 0x00000100L /* intend to read from fifo */
#define FIFOF_WRITE 0x00000200L /* intend to write to fifo */
#define FIFOF_RESERVED 0xFFFF0000L /* reserved for internal use */
#define FIFOF_NORMAL 0x00000400L /* request blocking/sig support*/
#define FIFOF_NBIO 0x00000800L /* non-blocking IO */
#define FIFOF_KEEPIFD 0x00002000L /* keep fifo alive if data pending */
#define FIFOF_EOF 0x00004000L /* EOF on close */
#define FIFOF_RREQUIRED 0x00008000L /* reader required to exist */
#define FREQ_RPEND 1
#define FREQ_WAVAIL 2
#define FREQ_ABORT 3
typedef void *FifoHan; /* returned by OpenFifo() */
#endif