/* ============================================================================ wordq.h -- header for word queue functions Version 1 -- 1988-11-02 -- D.N. Lynx Crowe ============================================================================ */ #pragma once #include "stdint.h" struct wordq { uint16_t qsize; /* maximum queue length */ uint16_t qlen; /* current queue length */ uint16_t qin; /* in pointer */ uint16_t qout; /* out pointer */ uint16_t qhi; /* high water mark */ uint16_t qlo; /* low water mark */ uint16_t *qbuf; /* base of queue */ };