Last change
on this file since 5f1d169 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
689 bytes
|
Rev | Line | |
---|
[3ae31e9] | 1 | /*
|
---|
| 2 | ============================================================================
|
---|
| 3 | charq.h -- header for character queue functions
|
---|
| 4 | Version 1 -- 1988-11-02 -- D.N. Lynx Crowe
|
---|
| 5 | ============================================================================
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | struct charq {
|
---|
| 9 |
|
---|
| 10 | unsigned short qsize; /* maximum queue length */
|
---|
| 11 | unsigned short qlen; /* current queue length */
|
---|
| 12 | unsigned short qin; /* in pointer */
|
---|
| 13 | unsigned short qout; /* out pointer */
|
---|
| 14 | unsigned short qhi; /* high water mark */
|
---|
| 15 | unsigned short qlo; /* low water mark */
|
---|
| 16 | char *qbuf; /* base of queue */
|
---|
| 17 | };
|
---|
| 18 |
|
---|
| 19 | #ifndef CHARQHDR
|
---|
| 20 | extern short putq(), getq();
|
---|
| 21 | extern unsigned short setq();
|
---|
| 22 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.