function lfds700_list_asu_cleanup

From liblfds.org
Revision as of 01:56, 30 December 2015 by Admin (talk | contribs) (→‎Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source Files

└───liblfds700
    ├───inc
    │   └───liblfds700
    │           lfds700_list_addonly_singlylinked_unordered.h
    └───src
        └───llfds700_list_addonly_singlylinked_unordered
                lfds700_list_addonly_singlylinked_unordered_cleanup.c

Opaque Structures

struct lfds700_list_asu_element;
struct lfds700_list_asu_state;

Prototype

void lfds700_list_asu_cleanup( struct lfds700_list_asu_state *lasus,
                               void (*element_cleanup_callback)(struct lfds700_list_asu_state *lasus, struct lfds700_list_asu_element *lasue) );

Parameters

struct lfds700_list_asu_state *lasus

A pointer to an initialized struct lfds700_list_asu_state.

void (*element_cleanup_callback)(struct lfds700_list_asu_state *lasus, struct lfds700_list_asu_element *lasue)

A callback function which is called with every element present in the list at the time of cleanup. This argument can be NULL.

Notes

No notes.

Example

Coming soon. No, really! (Written 29th Dec 2015).

See Also