Download

Support

Doubly Linked List Adding Functions

Functions that are used to add nodes to an Ecore_DList. More...

Functions

EAPI int ecore_dlist_append (Ecore_DList *list, void *data)
 Appends data to the given doubly linked list.
EAPI int ecore_dlist_prepend (Ecore_DList *list, void *data)
 Adds data to the very beginning of the given doubly linked list.
EAPI int ecore_dlist_insert (Ecore_DList *list, void *data)
 Inserts data at the current point in the given doubly linked list.
EAPI int ecore_dlist_append_list (Ecore_DList *list, Ecore_DList *append)
 Appends a list to the given doubly linked list.
EAPI int ecore_dlist_prepend_list (Ecore_DList *list, Ecore_DList *prepend)
 Adds a list to the very beginning of the given doubly linked list.

Detailed Description

Functions that are used to add nodes to an Ecore_DList.


Function Documentation

EAPI int ecore_dlist_append ( Ecore_DList *  list,
void *  data 
)

Appends data to the given doubly linked list.

Parameters:
list The given doubly linked list.
data The data to append.
Returns:
TRUE if the data is successfully appended, FALSE otherwise.

Referenced by ecore_dlist_insert().

EAPI int ecore_dlist_append_list ( Ecore_DList *  list,
Ecore_DList *  append 
)

Appends a list to the given doubly linked list.

Parameters:
list The given doubly linked list.
append The list to append.
Returns:
TRUE if the data is successfully appended, FALSE otherwise.

References ecore_dlist_empty_is(), and ecore_dlist_init().

Referenced by ecore_dlist_merge().

EAPI int ecore_dlist_insert ( Ecore_DList *  list,
void *  data 
)

Inserts data at the current point in the given doubly linked list.

Parameters:
list The given doubly linked list.
data The data to be inserted.
Returns:
TRUE on success, FALSE otherwise.

References ecore_dlist_append(), and ecore_dlist_prepend().

EAPI int ecore_dlist_prepend ( Ecore_DList *  list,
void *  data 
)

Adds data to the very beginning of the given doubly linked list.

Parameters:
list The given doubly linked list.
data The data to prepend.
Returns:
TRUE if the data is successfully prepended, FALSE otherwise.

Referenced by ecore_dlist_insert().

EAPI int ecore_dlist_prepend_list ( Ecore_DList *  list,
Ecore_DList *  prepend 
)

Adds a list to the very beginning of the given doubly linked list.

Parameters:
list The given doubly linked list.
prepend The list to prepend.
Returns:
TRUE if the data is successfully prepended, FALSE otherwise.

References ecore_dlist_empty_is(), and ecore_dlist_init().


Copyright © Enlightenment.org

Ecore Documentation