#include "wbxml.h"
Include dependency graph for wbxml_lists.c:
Go to the source code of this file.
Compounds | |
struct | WBXMLList_s |
struct | WBXMLListElt_s |
Defines | |
#define | wbxml_elt_create(a) wbxml_mem_cleam(wbxml_elt_create_real(a)) |
Typedefs | |
typedef WBXMLListElt_s | WBXMLListElt |
Functions | |
WBXMLListElt * | wbxml_elt_create_real (void *item) |
Create a List Element. | |
void | wbxml_elt_destroy (WBXMLListElt *elt, WBXMLListEltCleaner *destructor) |
Destroy a List Element. | |
WBXMLList * | wbxml_list_create_real (void) |
Create a List. | |
void | wbxml_list_destroy (WBXMLList *list, WBXMLListEltCleaner *destructor) |
Destroy a List. | |
unsigned int | wbxml_list_len (WBXMLList *list) |
Get list length. | |
unsigned char | wbxml_list_append (WBXMLList *list, void *item) |
Append an element at end of list. | |
unsigned char | wbxml_list_insert (WBXMLList *list, void *item, unsigned int pos) |
void * | wbxml_list_get (WBXMLList *list, unsigned int index) |
void * | wbxml_list_extract_first (WBXMLList *list) |
Extract first element of a List. |
Definition in file wbxml_lists.c.
|
Definition at line 53 of file wbxml_lists.c. Referenced by wbxml_list_append(), and wbxml_list_insert(). |
|
Element of this list |
|
Create a List Element.
Definition at line 231 of file wbxml_lists.c. |
|
Destroy a List Element.
Definition at line 250 of file wbxml_lists.c. Referenced by wbxml_list_destroy(), and wbxml_list_extract_first(). |
|
Definition at line 181 of file wbxml_lists.c. References WBXMLList_s::head, WBXMLListElt_s::item, WBXMLListElt_s::next, NULL, WB_ULONG, and wbxml_list_len(). |
|
Definition at line 131 of file wbxml_lists.c. References FALSE, WBXMLList_s::head, WBXMLList_s::len, WBXMLListElt_s::next, NULL, WBXMLList_s::tail, TRUE, WB_BOOL, WB_ULONG, and wbxml_elt_create. |