Ecore_DLists
.
More...Functions | |
EAPI Ecore_DList * | ecore_dlist_new () |
Creates and initialises a new doubly linked list. | |
EAPI int | ecore_dlist_init (Ecore_DList *list) |
Initialises a list to some sane starting values. | |
EAPI void | ecore_dlist_destroy (Ecore_DList *list) |
Frees a doubly linked list and all of its nodes. | |
EAPI int | ecore_dlist_free_cb_set (Ecore_DList *list, Ecore_Free_Cb free_func) |
Sets the function used for freeing data stored in a doubly linked list. |
Ecore_DLists
.
EAPI void ecore_dlist_destroy | ( | Ecore_DList * | list | ) |
Frees a doubly linked list and all of its nodes.
list | The doubly linked list to be freed. |
EAPI int ecore_dlist_free_cb_set | ( | Ecore_DList * | list, | |
Ecore_Free_Cb | free_func | |||
) |
Sets the function used for freeing data stored in a doubly linked list.
list | The doubly linked list that will use this function when nodes are destroyed. | |
free_func | The function that will free the key data |
TRUE
on success, FALSE
on failure. EAPI int ecore_dlist_init | ( | Ecore_DList * | list | ) |
Initialises a list to some sane starting values.
list | The doubly linked list to initialise. |
TRUE
if successful, FALSE
if an error occurs. EAPI Ecore_DList* ecore_dlist_new | ( | void | ) |
Creates and initialises a new doubly linked list.
NULL
on failure.