void ctb_Queue_enqueue(ctb_Queue_t *const self, ctb_DNode_t *const node)
Adds a node at the end of the queue.
Definition ctb_Queue.c:15
ctb_Queue_t * ctb_Queue_init(ctb_Queue_t *const self)
Initializes a queue.
Definition ctb_Queue.c:4
bool ctb_Queue_isEmpty(ctb_Queue_t *const self)
Checks if the queue is empty.
Definition ctb_Queue.c:10
ctb_DNode_t * ctb_Queue_dequeue(ctb_Queue_t *const self)
Removes and returns the first node from the queue.
Definition ctb_Queue.c:22
void ctb_Queue_clear(ctb_Queue_t *const self)
Clears the queue.
Definition ctb_Queue.c:27
Doubly linked list data structure.
Definition ctb_DList.h:20
Doubly linked node data structure.
Definition ctb_DNode.h:15
Queue data structure.
Definition ctb_Queue.h:18