This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | wbxml_list_create() wbxml_mem_cleam(wbxml_list_create_real()) |
Typedefs | |
typedef WBXMLList_s | WBXMLList |
WBXML Generic List. | |
typedef void | WBXMLListEltCleaner (void *item) |
A List Element Cleaner Function prototype. | |
Functions | |
WBXMLList * | wbxml_list_create_real (void) |
Create a List. | |
void | wbxml_list_destroy (WBXMLList *list, WBXMLListEltCleaner *destructor) |
Destroy a List. | |
WB_ULONG | wbxml_list_len (WBXMLList *list) |
Get list length. | |
WB_BOOL | wbxml_list_append (WBXMLList *list, void *elt) |
Append an element at end of list. | |
WB_BOOL | wbxml_list_insert (WBXMLList *list, void *elt, WB_ULONG pos) |
Append an element to a list. | |
void * | wbxml_list_get (WBXMLList *list, WB_ULONG index) |
Get an Element from list. | |
void * | wbxml_list_extract_first (WBXMLList *list) |
Extract first element of a List. |
Definition in file wbxml_lists.h.
|
WBXML Generic List.
Definition at line 46 of file wbxml_lists.h. |
|
Append an element at end of list.
Definition at line 105 of file wbxml_lists.c. References FALSE, WBXMLList_s::head, WBXMLList_s::len, WBXMLListElt_s::next, NULL, WBXMLList_s::tail, TRUE, WB_BOOL, and wbxml_elt_create. Referenced by wbxml_buffer_split_words_real(). |
|
Create a List.
Definition at line 62 of file wbxml_lists.c. References WBXMLList_s::head, WBXMLList_s::len, NULL, WBXMLList_s::tail, and wbxml_malloc(). |
|
Destroy a List.
Definition at line 77 of file wbxml_lists.c. References WBXMLList_s::head, WBXMLListElt_s::next, NULL, wbxml_elt_destroy(), wbxml_free(), and WBXMLListEltCleaner. Referenced by wbxml_buffer_split_words_real(), and wbxml_encoder_destroy(). |
|
Extract first element of a List.
Definition at line 199 of file wbxml_lists.c. References WBXMLList_s::head, WBXMLListElt_s::item, WBXMLList_s::len, WBXMLListElt_s::next, NULL, WBXMLList_s::tail, wbxml_elt_destroy(), and wbxml_list_len(). |
|
Get list length.
Definition at line 96 of file wbxml_lists.c. References WBXMLList_s::len, NULL, and WB_ULONG. Referenced by wbxml_list_extract_first(), and wbxml_list_get(). |