r6.0.0:lfds600_slist_delete_all_elements

From liblfds.org
Revision as of 14:07, 4 January 2015 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source Files

/liblfds600/src/lfds600_slist/lfds600_slist_delete.c
/liblfds600/inc/liblfds600.h

Prototype

void lfds600_slist_delete_all_elements( struct lfds600_slist_state *ss );

Parameters

struct lfds600_slist_state *ss

An slist state as allocated by lfds600_slist_new.

Return Value

No return value.

Notes

This function deletes every element in the slist. This is not a logical delete - the elements are actually freed and the user_data_delete_function passed to lfds600_slist_new is called with each user data void pointer immediately before the element is freed. This function is not thread-safe; it can only be issued by one thread and there can be no other in-progress slist operations when it is called.

See Also