<libroxml  version="3.0.0" />
contact: tristan.lelong@libroxml.net
roxml_core.h
Go to the documentation of this file.
1 
12 #ifndef ROXML_CORE_H
13 #define ROXML_CORE_H
14 
15 #include "roxml_internal.h"
16 
17 #ifdef __DEBUG
18 unsigned int _nb_node;
19 unsigned int _nb_attr;
20 unsigned int _nb_text;
21 #endif
22 
32 ROXML_INT node_t *roxml_create_node(int pos, void *src, int type);
33 
41 ROXML_INT void roxml_free_node(node_t *n);
42 
51 ROXML_INT void roxml_del_tree(node_t *n);
52 
61 ROXML_INT node_t *roxml_create_root(node_t *n);
62 
70 ROXML_INT int roxml_is_separator(char sep);
71 
84 ROXML_INT node_t *roxml_load(node_t *current_node, FILE * file, char *buffer);
85 
95 ROXML_INT node_t *roxml_set_parent(node_t *parent, node_t *n);
96 
105 ROXML_INT node_t *roxml_append_node(node_t *parent, node_t * n);
106 
107 ROXML_INT ROXML_PARSE int _func_load_quoted(roxml_parser_item_t *parser, char *chunk, void *data);
108 ROXML_INT ROXML_PARSE int _func_load_dquoted(roxml_parser_item_t *parser, char *chunk, void *data);
109 ROXML_INT ROXML_PARSE int _func_load_open_node(roxml_parser_item_t *parser, char *chunk, void *data);
110 ROXML_INT ROXML_PARSE int _func_load_close_node(roxml_parser_item_t *parser, char *chunk, void *data);
111 ROXML_INT ROXML_PARSE int _func_load_open_spec_node(roxml_parser_item_t *parser, char *chunk, void *data);
112 ROXML_INT ROXML_PARSE int _func_load_close_comment(roxml_parser_item_t *parser, char *chunk, void *data);
113 ROXML_INT ROXML_PARSE int _func_load_close_cdata(roxml_parser_item_t *parser, char *chunk, void *data);
114 ROXML_INT ROXML_PARSE int _func_load_close_pi(roxml_parser_item_t *parser, char *chunk, void *data);
115 ROXML_INT ROXML_PARSE int _func_load_end_node(roxml_parser_item_t *parser, char *chunk, void *data);
116 ROXML_INT ROXML_PARSE int _func_load_white(roxml_parser_item_t *parser, char *chunk, void *data);
117 ROXML_INT ROXML_PARSE int _func_load_colon(roxml_parser_item_t *parser, char *chunk, void *data);
118 ROXML_INT ROXML_PARSE int _func_load_default(roxml_parser_item_t *parser, char *chunk, void *data);
119 
120 #endif /* ROXML_CORE_H */
node_t structure
Definition: roxml_types.h:133
ROXML_INT node_t * roxml_load(node_t *current_node, FILE *file, char *buffer)
generic load function
Definition: roxml_core.c:201
ROXML_INT node_t * roxml_append_node(node_t *parent, node_t *n)
node append function
Definition: roxml_core.c:347
ROXML_INT void roxml_free_node(node_t *n)
internal function
Definition: roxml_core.c:82
ROXML_INT node_t * roxml_create_root(node_t *n)
internal function
Definition: roxml_core.c:251
internal header required by all libroxml sources
ROXML_INT void roxml_del_tree(node_t *n)
internal function
Definition: roxml_core.c:115
ROXML_INT node_t * roxml_create_node(int pos, void *src, int type)
internal function
Definition: roxml_core.c:46
the parser item struct
ROXML_INT int roxml_is_separator(char sep)
separator tester
Definition: roxml_core.c:128
ROXML_INT node_t * roxml_set_parent(node_t *parent, node_t *n)
node parenting function
Definition: roxml_core.c:308