1: #define M 3
2: #define C 100
3:
4: struct chan
5: {
6: char cflag;
7: char m, c;
8: struct chan *dest;
9: struct clist ioq;
10: };
11:
12: /* c flags */
13: #define BLOCK 01
14:
15: struct line
16: {
17: char xbuf[24+2];
18: char rbuf[100+2];
19: char rseq;
20: char xseq;
21: char ackf;
22: char xflag;
23: char state;
24: char time;
25: short sum;
26: char *ip;
27: char *ep;
28: };
29: #define WWAIT 02
30: #define CRUN 04
31: #define RWAIT 010
32: #define ALLOC 020
33: #define DIS 040
34: #define DLY 0100
35:
36: /*
37: * machine structure
38: */
39: struct mach
40: {
41: char mflag;
42: char rchan;
43: char rcount;
44: char xchan;
45: char xcount;
46: struct clist ackq;
47: struct clist datq;
48: struct clist disq;
49: struct chan *chanp[128];
50: };
51:
52: /* m flags */
53: #define RNEXT 01
54: #define MRUN 04
55: #define XNEXT 010
56:
57: /*
58: * trace buffer
59: */
60: #define TBSIZ 100
Defined struct's
chan
defined in line
4; used 4 times
line
defined in line
15;
never used
mach
defined in line
39;
never used
Defined macros
ALLOC
defined in line
32;
never used
BLOCK
defined in line
13;
never used
C
defined in line
2;
never used
CRUN
defined in line
30;
never used
DIS
defined in line
33;
never used
DLY
defined in line
34;
never used
M
defined in line
1;
never used
MRUN
defined in line
54;
never used
RNEXT
defined in line
53;
never used
RWAIT
defined in line
31;
never used
TBSIZ
defined in line
60;
never used
WWAIT
defined in line
29;
never used
XNEXT
defined in line
55;
never used