/*
 * RCCL Version 1.0           Author :  Vincent Hayward
 *                                      School of Electrical Engineering
 *                                      Purdue University
 *      Dir     : h
 *      File    : bio.h
 *      Remarks : Buffered io declarations
 *      Usage   : included in concerned programs
 */

#define BUFS    1024

#define J1      0               /* buffer for j1        */
#define J2      1               /* ...... ... j2        */
#define J3      2               /* ...... ... j3        */
#define J4      3               /* ...... ... j4        */
#define J5      4               /* ...... ... j5        */
#define J6      5               /* ...... ... j6        */
/*
 * 6 -> 11 for t6 components
 */
#define TB      12              /* ...... ... dsp time  */
#define CB      13              /* ...... ... dsp chars */
#define EB      14              /* ...... ... encoders  */

#define NBUF    15              /* total                */


typedef struct bio {
	int fd;
	char *ptr;
	char buf[BUFS];
} BIO, *BIO_PTR;


extern  BIO     iobf_n[NBUF];
