home *** CD-ROM | disk | FTP | other *** search
- head 1.5;
- access;
- symbols
- sercli_v1_10:1.5
- sercli_v1_9:1.4
- sercli_v1_8:1.4
- sercli_v1_7:1.3
- sercli_v1_6:1.2
- sercli_v1_5:1.1;
- locks
- rkr:1.5;
- comment @** @;
-
-
- 1.5
- date 93.06.16.23.33.55; author rkr; state Exp;
- branches;
- next 1.4;
-
- 1.4
- date 91.12.20.09.44.19; author rkr; state Exp;
- branches;
- next 1.3;
-
- 1.3
- date 91.12.10.02.48.45; author rkr; state Exp;
- branches;
- next 1.2;
-
- 1.2
- date 91.12.02.10.52.01; author rkr; state Exp;
- branches;
- next 1.1;
-
- 1.1
- date 91.11.28.08.25.36; author rkr; state Exp;
- branches;
- next ;
-
-
- desc
- @sercli is a program to permit shell-like interface to the serial port,
- while also permitting easy config- and run-time-control over the way the
- serial port (or even _which_ serial port) is used.
-
- @
-
-
- 1.5
- log
- @Essentially a non-change.
- @
- text
- @/*
- ** $Source: WB_2.1:homes/rkr/prog/sercli/src/RCS/fifo.h,v $
- ** $Author: rkr $
- ** $Revision: 1.4 $
- ** $Locker: $
- ** $State: Exp $
- ** $Date: 1991/12/20 09:44:19 $
- **
- */
-
-
- /*
- * FIFO.H
- *
- * PUBLIC FIFO STRUCTURES AND DEFINES
- */
-
- #ifndef LIBRARIES_FIFO_H
- #define LIBRARIES_FIFO_H
-
- #define FIFONAME "fifo.library"
-
- #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 FREQ_RPEND 1
- #define FREQ_WAVAIL 2
- #define FREQ_ABORT 3
-
- typedef void *FifoHan; /* returned by OpenFifo() */
-
-
-
- /*
- ** Need some protos so that I can use Manx/Aztec #pragmas...
- **
- ** ---rkr.
- **
- */
- FifoHan OpenFifo (char *name, long bufsize, long flags);
- void CloseFifo (FifoHan fifo, long flags);
- long ReadFifo (FifoHan fifo, char **pptr, long skip);
- long WriteFifo (FifoHan fifo, void *buf, long max);
- void RequestFifo (FifoHan fifo, struct Message *msg, long req);
- long BufSizeFifo (FifoHan fifo);
-
-
-
- /*
- ** Define __USE_LIBRARY_PRAGMAS if you want to get to "fifo_pragmas.h" (or
- ** else manually #include "fifo_pragmas.h"). (Except for Aztec users...
- ** you automatically get the #pragmas...)
- **
- ** The #pragmas were generated by the mapfd that came with Aztec; they are
- ** in Lattice form, so should work with either Aztec or Lattice/SAS.
- **
- ** You will need at least Aztec v5.0a.
- **
- ** ---rkr.
- **
- */
- #ifdef AZTEC_C
- #ifndef __USE_LIBRARY_PRAGMAS
-
- #define __USE_LIBRARY_PRAGMAS 1
-
- #endif /*** __USE_LIBRARY_PRAGMAS ***/
- #endif /*** AZTEC_C ***/
-
-
- #ifdef __USE_LIBRARY_PRAGMAS
- #include "fifo_pragmas.h"
- #endif /*** __USE_LIBRARY_PRAGMAS ***/
-
- #endif
- @
-
-
- 1.4
- log
- @*** empty log message ***
- @
- text
- @d2 1
- a2 1
- ** $Source: Workbench:personal/rkr/prog/sercli/src/rcs/fifo.h,v $
- d4 2
- a5 2
- ** $Revision: 1.3 $
- ** $Locker: rkr $
- d7 1
- a7 1
- ** $Date: 91/12/10 02:48:45 $
- d39 1
- d53 2
- d70 1
- d72 1
- d76 1
- a81 1
-
- @
-
-
- 1.3
- log
- @*** empty log message ***
- @
- text
- @d4 1
- a4 1
- ** $Revision: 1.2 $
- d7 1
- a7 1
- ** $Date: 91/12/02 10:52:01 $
- @
-
-
- 1.2
- log
- @*** empty log message ***
- @
- text
- @d7 1
- a7 1
- ** $Date: 91/12/02 10:42:38 $
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d2 6
- a7 6
- ** $Source$
- ** $Author$
- ** $Revision$
- ** $Locker$
- ** $State$
- ** $Date$
- @
-