A singly linked list. More...
#include <slist.h>

Data Fields | |
| struct slist_node | first |
| struct slist_node * | last |
A singly linked list.
Definition at line 59 of file slist.h.
| struct slist_node slist::first |
Sentinel node which is always at the head of the list. The last node in the list points back at this node.
Definition at line 64 of file slist.h.
Referenced by slist_borrow_to_tail(), slist_give_back_head(), slist_init(), slist_insert_head(), slist_insert_tail(), slist_is_empty(), slist_move_to_head(), slist_node_is_valid(), slist_peek_head_node(), and slist_pop_head_node().
| struct slist_node* slist::last |
Pointer to the last node in the list. Initially points at slist::first.
Definition at line 69 of file slist.h.
Referenced by slist_borrow_to_tail(), slist_give_back_head(), slist_init(), slist_insert_head(), slist_insert_tail(), slist_move_to_head(), slist_node_is_last(), slist_peek_tail_node(), and slist_pop_head_node().
1.6.3