function lfds710_list_asu_cleanup

From liblfds.org
Revision as of 18:24, 30 May 2016 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source Files

└───liblfds710
    ├───inc
    │   └───liblfds710
    │           lfds710_list_addonly_singlylinked_unordered.h
    └───src
        └───llfds710_list_addonly_singlylinked_unordered
                lfds710_list_addonly_singlylinked_unordered_cleanup.c

Opaque Structures

struct lfds710_list_asu_element;
struct lfds710_list_asu_state;

Prototype

void lfds710_list_asu_cleanup( struct lfds710_list_asu_state *lasus,
                               void (*element_cleanup_callback)(struct lfds710_list_asu_state *lasus, struct lfds710_list_asu_element *lasue) );

Parameters

struct lfds710_list_asu_state *lasus

A pointer to an initialized struct lfds710_list_asu_state.

void (*element_cleanup_callback)(struct lfds710_list_asu_state *lasus, struct lfds710_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.

See Also