axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
void axl_list_add ( axlList list,
axlPointer  pointer 
)

Allows to store a new element inside the list, using the provided data.

The function will fail to perform any action if a null reference is provided to the function.

Parameters
listThe list where the element will be added.
pointerThe pointer to store.

NOTE: The function uses the equal function defined at axl_list_new. If the function shows that the item to be added is already added (because the equal function returns 0, then the item won't be added.

References axl_return_if_fail.

Referenced by axl_doc_add_pi_target(), axl_doc_get_list(), axl_list_copy(), axl_node_get_childs(), axl_node_get_pi_target_list(), and axl_stream_link_full().