#include <string.h>
#include "wbxml.h"
Include dependency graph for wbxml_tree_clb_wbxml.c:
Go to the source code of this file.
Functions | |
WBXMLTreeAttribute * | construct_attribute_list (WBXMLAttribute **atts) |
Construct a Tree Attribute List. | |
void | add_node_to_tree (WBXMLTreeNode *node, WBXMLTreeClbCtx *tree_ctx) |
Add a Node to Tree. | |
void | wbxml_tree_clb_wbxml_start_document (void *ctx, int charset, const WBXMLLangEntry *lang) |
void | wbxml_tree_clb_wbxml_end_document (void *ctx) |
End Document Callback. | |
void | wbxml_tree_clb_wbxml_start_element (void *ctx, WBXMLTag *element, WBXMLAttribute **attrs, unsigned char empty) |
void | wbxml_tree_clb_wbxml_end_element (void *ctx, WBXMLTag *element, unsigned char empty) |
void | wbxml_tree_clb_wbxml_characters (void *ctx, unsigned char *ch, unsigned int start, unsigned int length) |
void | wbxml_tree_clb_wbxml_pi (void *ctx, const unsigned char *target, unsigned char *data) |
Definition in file wbxml_tree_clb_wbxml.c.
|
Add a Node to Tree.
Definition at line 257 of file wbxml_tree_clb_wbxml.c. |
|
Construct a Tree Attribute List.
Definition at line 214 of file wbxml_tree_clb_wbxml.c. |
|
|
Definition at line 114 of file wbxml_tree_clb_wbxml.c. References WBXMLTreeClbCtx_s::current, WBXMLTreeClbCtx_s::error, NULL, WBXMLTreeNode_s::parent, WBXMLTree_s::root, WBXMLTreeClbCtx_s::tree, WB_BOOL, WBXML_ERROR_INTERNAL, and WBXML_OK. |
|
Definition at line 199 of file wbxml_tree_clb_wbxml.c. References WB_UTINY. |
|
Definition at line 59 of file wbxml_tree_clb_wbxml.c. References WBXMLTreeClbCtx_s::error, WBXMLTree_s::lang, WBXMLTreeClbCtx_s::tree, WB_LONG, and WBXML_OK. |
|
Definition at line 79 of file wbxml_tree_clb_wbxml.c. References add_node_to_tree(), WBXMLTreeNode_s::attrs, construct_attribute_list(), WBXMLTreeClbCtx_s::error, WBXMLTreeNode_s::name, NULL, WB_BOOL, WBXML_ERROR_NOT_ENOUGH_MEMORY, WBXML_OK, wbxml_tag_duplicate(), WBXML_TREE_ELEMENT_NODE, wbxml_tree_node_create(), and wbxml_tree_node_destroy(). |