Macros | |
| #define | ocs_list_remove_head(list) ocs_list_remove(list, ocs_list_get_head(list)) |
| Remove and return an item from the head of the list. More... | |
Functions | |
| static int32_t | ocs_list_empty (ocs_list_t *list) |
| Test if a list is empty. More... | |
| static int32_t | ocs_list_is_singular (ocs_list_t *list) |
| Test if a list has single entry. More... | |
| static int | ocs_list_valid (ocs_list_t *list) |
| Test if a list is valid (ready for use) More... | |
| static void | ocs_list_add_head (ocs_list_t *list, void *item) |
| Add an item to the head of the list. More... | |
| static void | ocs_list_add_tail (ocs_list_t *list, void *item) |
| Add an item to the tail of the list. More... | |
| static void * | ocs_list_get_head (ocs_list_t *list) |
| Return the first item in the list. More... | |
| static void * | ocs_list_get_tail (ocs_list_t *list) |
| Return the first item in the list. More... | |
| static void * | ocs_list_tail (ocs_list_t *list) |
| Return the last item in the list. More... | |
| static void * | ocs_list_next (ocs_list_t *list, void *item) |
| Get the next item on the list. More... | |
| static void * | ocs_list_remove (ocs_list_t *list, void *item) |
| Remove an item from the list. More... | |
| static int32_t | ocs_recovery_thread (ocs_thread_t *th) |
| OCS FW error recovery thread. More... | |
| #define ocs_list_remove_head | ( | list | ) | ocs_list_remove(list, ocs_list_get_head(list)) |
Remove and return an item from the head of the list.
| list | head of the list |
Definition at line 374 of file ocs_list.h.
|
inlinestatic |
Add an item to the head of the list.
| list | Pointer to list head |
| item | Item to add |
Definition at line 235 of file ocs_list.h.
|
inlinestatic |
Add an item to the tail of the list.
| list | Head of the list |
| item | Item to add |
Definition at line 263 of file ocs_list.h.
|
inlinestatic |
Test if a list is empty.
| list | Pointer to list head |
Definition at line 125 of file ocs_list.h.
|
inlinestatic |
Return the first item in the list.
| list | Head of the list |
Definition at line 292 of file ocs_list.h.
|
inlinestatic |
Return the first item in the list.
| list | head of the list |
Definition at line 308 of file ocs_list.h.
|
inlinestatic |
Test if a list has single entry.
| list | Pointer to list head |
Definition at line 141 of file ocs_list.h.
|
inlinestatic |
Get the next item on the list.
| list | head of the list |
| item | current item |
Definition at line 339 of file ocs_list.h.
|
inlinestatic |
Remove an item from the list.
| list | Head of the list |
| item | Item to remove |
Definition at line 385 of file ocs_list.h.
|
inlinestatic |
Return the last item in the list.
| list | Pointer to list head |
Definition at line 323 of file ocs_list.h.
|
inlinestatic |
Test if a list is valid (ready for use)
| list | Pointer to list head |
Definition at line 155 of file ocs_list.h.
|
static |
OCS FW error recovery thread.
Definition at line 695 of file ocs_recovery.c.