Functions
generic_list.c File Reference
#include "generic_list.h"
Include dependency graph for generic_list.c:

Go to the source code of this file.

Functions

list_status_t LIST_AddHead (list_handle_t list, list_element_handle_t element)
 Links element to the head of the list. More...
 
list_status_t LIST_AddPrevElement (list_element_handle_t element, list_element_handle_t newElement)
 Links an element in the previous position relative to a given member of a list. More...
 
list_status_t LIST_AddTail (list_handle_t list, list_element_handle_t element)
 Links element to the tail of the list. More...
 
static list_status_t LIST_Error_Check (list_handle_t list, list_element_handle_t newElement)
 
uint32_t LIST_GetAvailableSize (list_handle_t list)
 Gets the number of free places in the list. More...
 
list_element_handle_t LIST_GetHead (list_handle_t list)
 Gets head element ID. More...
 
list_handle_t LIST_GetList (list_element_handle_t element)
 Gets the list that contains the given element. More...
 
list_element_handle_t LIST_GetNext (list_element_handle_t element)
 Gets next element ID. More...
 
list_element_handle_t LIST_GetPrev (list_element_handle_t element)
 Gets previous element ID. More...
 
uint32_t LIST_GetSize (list_handle_t list)
 Gets the current size of a list. More...
 
void LIST_Init (list_handle_t list, uint32_t max)
 Initialises the list descriptor. More...
 
list_status_t LIST_RemoveElement (list_element_handle_t element)
 Unlinks an element from its list. More...
 
list_element_handle_t LIST_RemoveHead (list_handle_t list)
 Unlinks element from the head of the list. More...
 

Function Documentation

◆ LIST_Error_Check()

static list_status_t LIST_Error_Check ( list_handle_t  list,
list_element_handle_t  newElement 
)
static

Include

Definition at line 16 of file generic_list.c.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:57