/*
 *   Multiplexed file driver - channel definition.
 */

struct	mxchan	{				/* channels to mx files */
	short	ch_flags;			/* mode of this chan */
	short	ch_chan;			/* chan number on mxf[ ] */
	struct	mxf	*ch_mxp;		/* link back to mxf struct */
	struct	file	*ch_fp;			/* link back to open file */
	struct	mxmsg	*ch_head;		/* next message to read */
	struct	mxmsg	*ch_tail;		/* end of chain for new messages */
	short	ch_qtot;			/* count of messages queued */
	};
