function lfds711_list_aso_cleanup

From liblfds.org
Revision as of 18:11, 16 February 2017 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source Files

└───liblfds711
    ├───inc
    │   └───liblfds711
    │           lfds711_list_addonly_singlylinked_ordered.h
    └───src
        └───llfds711_list_addonly_singlylinked_ordered
                lfds711_list_addonly_singlylinked_ordered_cleanup.c

Opaque Structures

struct lfds711_list_aso_state;

Prototype

void lfds711_list_aso_cleanup( struct lfds711_list_aso_state *lasos,
                               void (*element_cleanup_callback)(struct lfds711_list_aso_state *lasos, struct lfds711_list_aso_element *lasoe) );

Parameters

struct lfds711_list_aso_state *lasos

A pointer to an initialized struct lfds711_list_aso_state.

void (*element_cleanup_callback)(struct lfds711_list_aso_state *lasos, struct lfds711_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