| plan 9 kernel history: overview | file list | diff list |
1992/0318/port/portdat.h (diff list | history)
| 1992/0309/sys/src/9/port/portdat.h:156,163 – 1992/0318/sys/src/9/port/portdat.h:156,163 (short | long | prev | next) | ||
|
Move Proc.stream out of union. Add Qinfo.nodelim. Format edits. Remove GLOBAL. Change devchar. Add CHLEN and auth message.s
rsc Fri Mar 4 12:44:25 2005 | ||
| 1991/0428 | Mount *mnt; /* mount point that derived Chan */ ulong mountid; int fid; /* for devmnt */ | |
| 1992/0318 | Stream *stream; /* for stream channels */ | |
| 1991/0428 | union { | |
| 1992/0309/sys/src/9/port/portdat.h:579,584 – 1992/0318/sys/src/9/port/portdat.h:579,585 | ||
| 1991/0428 | void (*close)(Queue*); char *name; void (*reset)(void); /* initialization */ | |
| 1992/0318 | char nodelim; /* True if stream does not preserve delimiters */ | |
| 1991/0428 | Qinfo *next; }; | |
| 1992/0309/sys/src/9/port/portdat.h:590,596 – 1992/0318/sys/src/9/port/portdat.h:591,598 | ||
| 1991/0724 | #define QHIWAT 0x4 /* queue has gone past the high water mark */ | |
| 1991/0428 | #define QDEBUG 0x8 | |
| 1992/0318 | struct Queue { | |
| 1991/0428 | Blist; int flag; | |
| 1991/0724 | Qinfo *info; /* line discipline definition */ | |
| 1992/0309/sys/src/9/port/portdat.h:603,609 – 1992/0318/sys/src/9/port/portdat.h:605,612 | ||
| 1991/0724 | void *ptr; /* private info for the queue */ | |
| 1991/0428 | }; | |
| 1992/0318 | struct Stream { | |
| 1991/0724 | QLock; /* structure lock */ short inuse; /* number of processes in stream */ short opens; /* number of processes with stream open */ | |
| 1992/0309/sys/src/9/port/portdat.h:623,629 – 1992/0318/sys/src/9/port/portdat.h:626,631 | ||
| 1991/0428 | */ #define RD(q) ((q)->other < (q) ? (q->other) : q) #define WR(q) ((q)->other > (q) ? (q->other) : q) | |
| 1992/0309/sys/src/9/port/portdat.h:684,690 – 1992/0318/sys/src/9/port/portdat.h:686,692 | ||
| 1991/0428 | extern Conf conf; extern ulong initcode[]; extern Dev devtab[]; | |
| 1992/0318 | extern char *devchar; | |
| 1991/1102 | extern char *conffile; | |
| 1991/0428 | extern char *statename[]; | |
| 1991/0705 | extern Palloc palloc; | |
| 1992/0309/sys/src/9/port/portdat.h:696,698 – 1992/0318/sys/src/9/port/portdat.h:698,712 | ||
| 1991/0705 | #define CHDIR 0x80000000L #define CHAPPEND 0x40000000L #define CHEXCL 0x20000000L | |
| 1992/0318 | /* * auth messages */ #define CHLEN 8 enum{ FScchal = 1, FSctick, RXschal = 0, RXstick = 1, }; | |