function lfds710_list_aso_cleanup

From liblfds.org
Revision as of 18:21, 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_ordered.h
    └───src
        └───llfds710_list_addonly_singlylinked_ordered
                lfds710_list_addonly_singlylinked_ordered_cleanup.c

Opaque Structures

struct lfds710_list_aso_state;

Prototype

void lfds710_list_aso_cleanup( struct lfds710_list_aso_state *lasos,
                               void (*element_cleanup_callback)(struct lfds710_list_aso_state *lasos, struct lfds710_list_aso_element *lasoe) );

Parameters

struct lfds710_list_aso_state *lasos

A pointer to an initialized struct lfds710_list_aso_state.

void (*element_cleanup_callback)(struct lfds710_list_aso_state *lasos, struct lfds710_list_aso_element *lasoe)

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