function lfds700_list_aos_cleanup

From liblfds.org
Revision as of 01:53, 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_ordered_singlylinked.h
    └───src
        └───llfds700_list_addonly_ordered_singlylinked
                lfds700_list_addonly_ordered_singlylinked_cleanup.c

Opaque Structures

struct lfds700_list_aos_state;

Prototype

void lfds700_list_aos_cleanup( struct lfds700_list_aos_state *laoss,
                               void (*element_cleanup_callback)(struct lfds700_list_aos_state *laoss, struct lfds700_list_aos_element *laose) );

Parameters

struct lfds700_list_aos_state *laoss

A pointer to an initialized struct lfds700_list_aos_state.

void (*element_cleanup_callback)(struct lfds700_list_aos_state *laoss, struct lfds700_list_aos_element *laose)

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