typedef struct { unsigned char *q; unsigned s; unsigned front; unsigned n; CTL_EVENT_SET_t *e; CTL_EVENT_SET_t notempty; CTL_EVENT_SET_t notfull; } CTL_BYTE_QUEUE_t;
CTL_BYTE_QUEUE_t defines the byte queue structure. The byte queue structure contains:
| Member | Description |
| q | pointer to the array of bytes |
| s | size of the array of bytes |
| front | the next byte to leave the byte queue |
| n | the number of elements in the byte queue |
| e | the event set to use for the not empty and not full events |
| notempty | the event number for a not empty event |
| notfull | the event number for a not full event |