cQueue 2.0
Queue handling library (written in plain c)
|
Queue type structure holding all variables to handle the queue. More...
#include <src/cQueue.h>
Data Fields | |
QueueType | impl |
Queue implementation: FIFO LIFO. | |
bool | ovw |
Overwrite previous records when queue is full allowed. | |
bool | dynamic |
Set to true when queue is dynamically allocated. | |
size_t | queue_sz |
Size of the full queue. | |
size_t | rec_sz |
Size of a record. | |
uint16_t | rec_nb |
number of records in the queue | |
uint8_t * | queue |
Queue start pointer (when allocated) | |
uint16_t | in |
number of records pushed into the queue | |
uint16_t | out |
number of records pulled from the queue (only for FIFO) | |
uint16_t | cnt |
number of records not retrieved from the queue | |
uint16_t | init |
set to QUEUE_INITIALIZED after successful init of the queue and reset when killing queue | |
Queue type structure holding all variables to handle the queue.
uint16_t Queue_t::cnt |
number of records not retrieved from the queue
bool Queue_t::dynamic |
Set to true when queue is dynamically allocated.
QueueType Queue_t::impl |
Queue implementation: FIFO LIFO.
uint16_t Queue_t::in |
number of records pushed into the queue
uint16_t Queue_t::init |
set to QUEUE_INITIALIZED after successful init of the queue and reset when killing queue
uint16_t Queue_t::out |
number of records pulled from the queue (only for FIFO)
bool Queue_t::ovw |
Overwrite previous records when queue is full allowed.
uint8_t* Queue_t::queue |
Queue start pointer (when allocated)
size_t Queue_t::queue_sz |
Size of the full queue.
uint16_t Queue_t::rec_nb |
number of records in the queue
size_t Queue_t::rec_sz |
Size of a record.