|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
Queue API vtable. More...
#include <queue_api.h>
Data Fields | |
| JUNO_STATUS_T(* | Enqueue )(JUNO_DS_QUEUE_ROOT_T *ptQueue, JUNO_POINTER_T tItem) |
| Enqueue an item to the back of the queue. | |
| JUNO_STATUS_T(* | Dequeue )(JUNO_DS_QUEUE_ROOT_T *ptQueue, JUNO_POINTER_T tReturn) |
| Dequeue the item at the front of the queue. | |
| JUNO_RESULT_POINTER_T(* | Peek )(JUNO_DS_QUEUE_ROOT_T *ptQueue) |
| Peek at the item at the front without removing it. | |
Queue API vtable.
| JUNO_STATUS_T(* JUNO_DS_QUEUE_API_TAG::Dequeue) (JUNO_DS_QUEUE_ROOT_T *ptQueue, JUNO_POINTER_T tReturn) |
Dequeue the item at the front of the queue.
| ptQueue | Queue instance. |
| tReturn | Pointer trait receiving the dequeued item (copied out). |
| JUNO_STATUS_T(* JUNO_DS_QUEUE_API_TAG::Enqueue) (JUNO_DS_QUEUE_ROOT_T *ptQueue, JUNO_POINTER_T tItem) |
Enqueue an item to the back of the queue.
| ptQueue | Queue instance. |
| tItem | Pointer trait describing the item to copy into the queue. |
| JUNO_RESULT_POINTER_T(* JUNO_DS_QUEUE_API_TAG::Peek) (JUNO_DS_QUEUE_ROOT_T *ptQueue) |
Peek at the item at the front without removing it.
| ptQueue | Queue instance. |