home *** CD-ROM | disk | FTP | other *** search
/ Between Heaven & Hell 2 / BetweenHeavenHell.cdr / 500 / 471 / rccl155 < prev    next >
Text File  |  1987-03-02  |  1KB  |  37 lines

  1. /*
  2.  * RCCL Version 1.0           Author :  Vincent Hayward
  3.  *                                      School of Electrical Engineering
  4.  *                                      Purdue University
  5.  *      Dir     : h
  6.  *      File    : bio.h
  7.  *      Remarks : Buffered io declarations
  8.  *      Usage   : included in concerned programs
  9.  */
  10.  
  11. #define BUFS    1024
  12.  
  13. #define J1      0               /* buffer for j1        */
  14. #define J2      1               /* ...... ... j2        */
  15. #define J3      2               /* ...... ... j3        */
  16. #define J4      3               /* ...... ... j4        */
  17. #define J5      4               /* ...... ... j5        */
  18. #define J6      5               /* ...... ... j6        */
  19. /*
  20.  * 6 -> 11 for t6 components
  21.  */
  22. #define TB      12              /* ...... ... dsp time  */
  23. #define CB      13              /* ...... ... dsp chars */
  24. #define EB      14              /* ...... ... encoders  */
  25.  
  26. #define NBUF    15              /* total                */
  27.  
  28.  
  29. typedef struct bio {
  30.     int fd;
  31.     char *ptr;
  32.     char buf[BUFS];
  33. } BIO, *BIO_PTR;
  34.  
  35.  
  36. extern  BIO     iobf_n[NBUF];
  37.