|
|
1.1 root 1: /*
2: * Character list.
3: */
4: #ifndef __SYS_CLIST_H__
5: #define __SYS_CLIST_H__
6: #include <sys/types.h>
7: #ifdef _I386
8: #include <sys/reg.h>
9: #else
10: #include <sys/machine.h>
11: #endif
12:
13: /*
14: * NIGEL: Whatever a "cmap_t" is, the definition belongs here, not in
15: * <sys/types.h>
16: */
17:
18: typedef unsigned int cmap_t;
19:
20:
21: /*
22: * Character list structure.
23: */
24: typedef struct clist {
25: cmap_t cl_fp; /* Pointer to next */
26: char cl_ch[NCPCL]; /* Characters */
27: } CLIST;
28:
29: /*
30: * Character queue structure.
31: */
32: typedef struct cqueue {
33: int cq_cc; /* Character count */
34: cmap_t cq_ip; /* Input pointer */
35: int cq_ix; /* Input index */
36: cmap_t cq_op; /* Output pointer */
37: int cq_ox; /* Output index */
38: } CQUEUE;
39:
40: #ifdef KERNEL
41: extern int cltwant; /* A wanted flag */
42: extern cmap_t cltfree; /* Character free list */
43:
44: #endif
45:
46: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.