Classes | |
struct | osip_fifo |
struct | osip_fifo |
Typedefs | |
typedef osip_fifo | osip_fifo_t |
Functions | |
void | osip_fifo_init (osip_fifo_t *ff) |
void | osip_fifo_free (osip_fifo_t *ff) |
int | osip_fifo_insert (osip_fifo_t *ff, void *element) |
int | osip_fifo_add (osip_fifo_t *ff, void *element) |
int | osip_fifo_size (osip_fifo_t *ff) |
void * | osip_fifo_get (osip_fifo_t *ff) |
void * | osip_fifo_tryget (osip_fifo_t *ff) |
|
Structure for referencing a fifo. |
|
Add an element in a fifo.
|
|
Free a fifo element.
|
|
Get an element from a fifo or block until one is added.
|
|
Initialise a osip_fifo_t element. NOTE: this element MUST be previously allocated.
|
|
Insert an element in a fifo (at the beginning).
|
|
Get the number of element in a fifo.
|
|
Try to get an element from a fifo, but do not block if there is no element.
|