A data structure that represents a single element in a queue.
struct queue_element queue_Element { queue_Element * prev ; queue_Element * next ; queue_Queue * queue ; };
The previous element in the queue. If this member is NULL, then the element is likely the first item in the queue.
The next element in the queue. If this member is NULL, the element is likely the last in the queue.
The queue that the element belongs to. If this member is NULL, the element hasn't been added to a queue.