Go to the source code of this file.
Defines | |
#define | _SPANDSP_QUEUE_H_ |
#define | QUEUE_READ_ATOMIC 0x0001 |
#define | QUEUE_WRITE_ATOMIC 0x0002 |
#define | QUEUE_STATE_T_SIZE(len) (sizeof(queue_state_t) + len + 1) |
Typedefs | |
typedef queue_state_s | queue_state_t |
Functions | |
SPAN_DECLARE (int) queue_empty(queue_state_t *s) | |
Check if a queue is empty. | |
SPAN_DECLARE (void) queue_flush(queue_state_t *s) | |
Flush the contents of a queue. | |
SPAN_DECLARE (queue_state_t *) queue_init(queue_state_t *s | |
Initialise a queue. | |
Variables | |
uint8_t * | buf |
uint8_t int | len |
uint8_t | byte |
int int | flags |
|
Flag bit to indicate queue reads are atomic operations. This must be set if the queue is to be used with the message oriented functions. |
|
Flag bit to indicate queue writes are atomic operations. This must be set if the queue is to be used with the message oriented functions. |
|
Queue descriptor. This defines the working state for a single instance of a byte stream or message oriented queue. |
|
Initialise a queue. Initialise a queue.
|
|
Flush the contents of a queue. Log the list of supported modulations.
|
|
Check if a queue is empty. Compress a block of octets.
|