function lfds710_list_aso_cleanup

From liblfds.org
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