#include <glib.h>
Go to the source code of this file.
Data Structures | |
struct | fifo |
Typedefs | |
typedef fifo | fifo_t |
typedef void(* | fifo_free_t )(gpointer item, gpointer udata) |
Functions | |
fifo_t * | fifo_make (void) |
Create new FIFO. | |
void | fifo_free (fifo_t *f) |
Destroy FIFO. | |
void | fifo_free_all (fifo_t *f, fifo_free_t cb, gpointer udata) |
Destroy FIFO, invoking freeing callback on all items still held. | |
gint | fifo_count (fifo_t *f) |
Returns amount of items queued in FIFO. | |
void | fifo_put (fifo_t *f, gconstpointer data) |
Add entry to FIFO. | |
gpointer | fifo_remove (fifo_t *f) |
Remove entry from FIFO. |
|
|
|
|
|
Returns amount of items queued in FIFO.
|
|
Destroy FIFO.
|
|
Destroy FIFO, invoking freeing callback on all items still held.
|
|
Create new FIFO.
|
|
Add entry to FIFO.
|
|
Remove entry from FIFO.
|