head 1.3; access werner shectman; symbols; locks; strict; comment @ * @; 1.3 date 89.09.05.17.04.44; author mao; state Version_2; branches; next ; desc @Initial Ported Version @ 1.3 log @checked in with -k by werner at 1992/01/09 17:00:06 @ text @#ifndef _CHANNEL_H_ #define _CHANNEL_H_ "$Header: RCS/channel.h,v 1.3 89/09/05 17:04:44 mao Version_2 $" /* * communication channels definitions */ #define NCHANN 16 /* max number of open channels */ struct deque { int dq_len; char *dq_data; struct deque *dq_next; }; struct chdisp { short ch_fd; /* file descriptor for this channel */ short ch_flags; /* status flags */ struct deque *ch_data; /* data deque */ }; #define CH_OPEN 1 #define CH_PRIME 2 #define CH_SLAVE 4 #define BOOTLEN 128 /* XXX */ extern struct chdisp Chtab[]; #endif @