|
Tou
Tou header library
|
Typedefs | |
| typedef tou_llist_t | tou_queue |
| Make a queue alias for convenience. | |
Functions | |
| tou_llist_t * | tou_queue_new () |
| Creates a new queue object. | |
| void | tou_queue_destroy (tou_llist_t *queue) |
| Destroys existing queue object. | |
| size_t | tou_queue_len (tou_llist_t *queue) |
| Returns the length of the queue. | |
| void | tou_queue_push (tou_llist_t **queue, void *elem) |
| Pushes a new element to the top of the Queue. | |
| void * | tou_queue_pop (tou_llist_t **queue) |
| Pops an element from the top of the Queue. | |
| void tou_queue_destroy | ( | tou_llist_t * | queue | ) |
Destroys existing queue object.
| [in] | queue | Object to destroy |
| size_t tou_queue_len | ( | tou_llist_t * | queue | ) |
Returns the length of the queue.
| [in] | queue | Queue object |
| tou_llist_t * tou_queue_new | ( | ) |
Creates a new queue object.
| void * tou_queue_pop | ( | tou_llist_t ** | queue | ) |
Pops an element from the top of the Queue.
| [in] | queue | Pointer to the queue object |
| void tou_queue_push | ( | tou_llist_t ** | queue, |
| void * | elem ) |
Pushes a new element to the top of the Queue.
| [in] | queue | Queue object |
| [in] | elem | Element to push |