<libroxml  version="3.0.2" />
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
18extern unsigned int _nb_node;
19extern unsigned int _nb_attr;
20extern unsigned int _nb_text;
21#endif
22
32ROXML_INT node_t *roxml_create_node(int pos, void *src, int type);
33
41ROXML_INT void roxml_free_node(node_t *n);
42
51ROXML_INT void roxml_del_tree(node_t *n);
52
61ROXML_INT node_t *roxml_create_root(node_t *n);
62
70ROXML_INT int roxml_is_separator(char sep);
71
84ROXML_INT node_t *roxml_load(node_t *current_node, FILE * file, char *buffer);
85
95ROXML_INT node_t *roxml_set_parent(node_t *parent, node_t *n);
96
105ROXML_INT node_t *roxml_append_node(node_t *parent, node_t * n);
106
107ROXML_INT ROXML_PARSE int _func_load_quoted(roxml_parser_item_t *parser, char *chunk, void *data);
108ROXML_INT ROXML_PARSE int _func_load_dquoted(roxml_parser_item_t *parser, char *chunk, void *data);
109ROXML_INT ROXML_PARSE int _func_load_open_node(roxml_parser_item_t *parser, char *chunk, void *data);
110ROXML_INT ROXML_PARSE int _func_load_close_node(roxml_parser_item_t *parser, char *chunk, void *data);
111ROXML_INT ROXML_PARSE int _func_load_open_spec_node(roxml_parser_item_t *parser, char *chunk, void *data);
112ROXML_INT ROXML_PARSE int _func_load_close_comment(roxml_parser_item_t *parser, char *chunk, void *data);
113ROXML_INT ROXML_PARSE int _func_load_close_cdata(roxml_parser_item_t *parser, char *chunk, void *data);
114ROXML_INT ROXML_PARSE int _func_load_close_pi(roxml_parser_item_t *parser, char *chunk, void *data);
115ROXML_INT ROXML_PARSE int _func_load_end_node(roxml_parser_item_t *parser, char *chunk, void *data);
116ROXML_INT ROXML_PARSE int _func_load_white(roxml_parser_item_t *parser, char *chunk, void *data);
117ROXML_INT ROXML_PARSE int _func_load_colon(roxml_parser_item_t *parser, char *chunk, void *data);
118ROXML_INT ROXML_PARSE int _func_load_default(roxml_parser_item_t *parser, char *chunk, void *data);
119
120#endif /* ROXML_CORE_H */
ROXML_INT node_t * roxml_create_node(int pos, void *src, int type)
internal function
Definition roxml_core.c:46
ROXML_INT node_t * roxml_append_node(node_t *parent, node_t *n)
node append function
Definition roxml_core.c:352
ROXML_INT node_t * roxml_set_parent(node_t *parent, node_t *n)
node parenting function
Definition roxml_core.c:313
ROXML_INT void roxml_del_tree(node_t *n)
internal function
Definition roxml_core.c:115
ROXML_INT node_t * roxml_create_root(node_t *n)
internal function
Definition roxml_core.c:256
ROXML_INT node_t * roxml_load(node_t *current_node, FILE *file, char *buffer)
generic load function
Definition roxml_core.c:201
ROXML_INT void roxml_free_node(node_t *n)
internal function
Definition roxml_core.c:82
ROXML_INT int roxml_is_separator(char sep)
separator tester
Definition roxml_core.c:128
internal header required by all libroxml sources
node_t structure
the parser item struct