115 #ifndef ti_drivers_utils_List__include 116 #define ti_drivers_utils_List__include 155 return (list->
head == NULL);
List_Elem * tail
Definition: List.h:135
void List_remove(List_List *list, List_Elem *elem)
Function to remove an elem from a linked list.
struct List_Elem_ List_Elem
struct List_Elem_ * next
Definition: List.h:128
List_Elem * List_get(List_List *list)
Function to atomically get the first 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:134
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_ * prev
Definition: List.h:129
static List_Elem * List_head(List_List *list)
Function to return the head of a linked list.
Definition: List.h:177
static List_Elem * List_prev(List_Elem *elem)
Function to return the prev elem in a linked list.
Definition: List.h:219
void List_clearList(List_List *list)
Function to initialize the contents of a List_List.
static bool List_empty(List_List *list)
Function to test whether a linked list is empty.
Definition: List.h:153
void List_putHead(List_List *list, List_Elem *elem)
Function to atomically put an elem onto the head of a linked list.
static List_Elem * List_next(List_Elem *elem)
Function to return the next elem in a linked list.
Definition: List.h:204
static List_Elem * List_tail(List_List *list)
Function to return the tail of a linked list.
Definition: List.h:261