|
Last change
on this file since f7428b1 was f7428b1, checked in by Thomas Lopatic <thomas@…>, 8 years ago |
|
Started to rework include files.
|
-
Property mode
set to
100644
|
|
File size:
579 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | ============================================================================
|
|---|
| 3 | wordq.h -- header for word queue functions
|
|---|
| 4 | Version 1 -- 1988-11-02 -- D.N. Lynx Crowe
|
|---|
| 5 | ============================================================================
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #pragma once
|
|---|
| 9 | #include "stdint.h"
|
|---|
| 10 |
|
|---|
| 11 | struct wordq {
|
|---|
| 12 |
|
|---|
| 13 | uint16_t qsize; /* maximum queue length */
|
|---|
| 14 | uint16_t qlen; /* current queue length */
|
|---|
| 15 | uint16_t qin; /* in pointer */
|
|---|
| 16 | uint16_t qout; /* out pointer */
|
|---|
| 17 | uint16_t qhi; /* high water mark */
|
|---|
| 18 | uint16_t qlo; /* low water mark */
|
|---|
| 19 | uint16_t *qbuf; /* base of queue */
|
|---|
| 20 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.