ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference

 


list.h

Includes:
"wx/defs.h"
"wx/object.h"
"wx/string.h"
"wx/beforestd.h"
<list>
"wx/afterstd.h"
<libxml/xmlversion.h>
"backward_warning.h"
"algobase.h"
"alloc.h"
<list>
"backward_warning.h"
"algobase.h"
"alloc.h"
<list>
"backward_warning.h"
"algobase.h"
"alloc.h"
<list>

Introduction



Typedefs


xmlListDataCompare


typedef int (*xmlListDataCompare) (
    const void *data0,
    const void *data1);  
Discussion

xmlListDataCompare: @data0: the first data @data1: the second data

Callback function used to compare 2 data.

Returns 0 is equality, -1 or 1 otherwise depending on the ordering.


xmlListDeallocator


typedef void (*xmlListDeallocator) (
    xmlLinkPtr lk);  
Discussion

xmlListDeallocator: @lk: the data to deallocate

Callback function used to free data from a list.


xmlListWalker


typedef int (*xmlListWalker) (
    const void *data,
    const void *user);  
Discussion

xmlListWalker: @data: the data found in the list @user: extra user provided data to the walker

Callback function used when walking a list with xmlListWalk().

Returns 0 to stop walking the list, 1 otherwise.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2006-06-20