24 #ifndef LINKED_LIST_H_
25 #define LINKED_LIST_H_
27 #include "libiec61850_common_api.h"
59 LIB61850_API LinkedList
142 LIB61850_API LinkedList
150 LIB61850_API LinkedList
158 LIB61850_API LinkedList
166 LIB61850_API LinkedList
LIB61850_API bool LinkedList_remove(LinkedList self, void *data)
Removed the specified element from the list.
void(* LinkedListValueDeleteFunction)(void *)
Definition: linked_list.h:75
LIB61850_API LinkedList LinkedList_insertAfter(LinkedList listElement, void *data)
Insert a new element int the list.
LIB61850_API void * LinkedList_getData(LinkedList self)
LIB61850_API void LinkedList_destroy(LinkedList self)
Delete a LinkedList object.
LIB61850_API void LinkedList_printStringList(LinkedList self)
LIB61850_API LinkedList LinkedList_getNext(LinkedList self)
Get the next element in the list (iterator).
LIB61850_API LinkedList LinkedList_get(LinkedList self, int index)
Get the list element specified by index (starting with 0).
LIB61850_API LinkedList LinkedList_getLastElement(LinkedList self)
Get the last element in the list.
LIB61850_API int LinkedList_size(LinkedList self)
Get the size of the list.
LIB61850_API void LinkedList_destroyDeep(LinkedList self, LinkedListValueDeleteFunction valueDeleteFunction)
Delete a LinkedList object.
LIB61850_API LinkedList LinkedList_create(void)
Create a new LinkedList object.
LIB61850_API bool LinkedList_contains(LinkedList self, void *data)
Check if the specified data is contained in the list.
LIB61850_API void LinkedList_destroyStatic(LinkedList self)
Delete a LinkedList object without freeing the element data.
LIB61850_API void LinkedList_add(LinkedList self, void *data)
Add a new element to the list.
Reference to a linked list or to a linked list element.
Definition: linked_list.h:44
void * data
Definition: linked_list.h:45
struct sLinkedList * next
Definition: linked_list.h:46