|
|
1.1 root 1: /*
2: * Character list.
3: */
4: #ifndef CLIST_H
5: #define 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: * Character list structure.
15: */
16: typedef struct clist {
17: cmap_t cl_fp; /* Pointer to next */
18: char cl_ch[NCPCL]; /* Characters */
19: } CLIST;
20:
21: /*
22: * Character queue structure.
23: */
24: typedef struct cqueue {
25: int cq_cc; /* Character count */
26: cmap_t cq_ip; /* Input pointer */
27: int cq_ix; /* Input index */
28: cmap_t cq_op; /* Output pointer */
29: int cq_ox; /* Output index */
30: } CQUEUE;
31:
32: #ifdef KERNEL
33: extern int cltwant; /* A wanted flag */
34: extern cmap_t cltfree; /* Character free list */
35:
36: #endif
37:
38: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.