115 #ifndef ti_drivers_utils_List__include
116 #define ti_drivers_utils_List__include
bool List_empty(List_List *list)
Function to test whether a linked list is empty.
List_Elem * tail
Definition: List.h:133
struct List_Elem * prev
Definition: List.h:128
void List_remove(List_List *list, List_Elem *elem)
Function to remove an elem from a linked list.
List_Elem * List_get(List_List *list)
Function to atomically get the first elem in a linked list.
List_Elem * List_prev(List_Elem *elem)
Function to return the prev elem in a linked list.
void List_insert(List_List *list, List_Elem *newElem, List_Elem *curElem)
Function to insert an elem into a linked list.
List_Elem * head
Definition: List.h:132
List_Elem * List_next(List_Elem *elem)
Function to return the next elem in a linked list.
void List_put(List_List *list, List_Elem *elem)
Function to atomically put an elem onto the end of a linked list.
struct List_Elem * next
Definition: List.h:127
List_Elem * List_head(List_List *list)
Function to return the head of a linked list.
struct List_List List_List
void List_clearList(List_List *list)
Function to initialize the contents of a List_List.
struct List_Elem List_Elem
void List_putHead(List_List *list, List_Elem *elem)
Function to atomically put an elem onto the head of a linked list.
List_Elem * List_tail(List_List *list)
Function to return the tail of a linked list.