14#ifndef CONFIG_XML_COMMIT
17 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
23 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
29 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
35 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
40#ifndef CONFIG_XML_EDIT
43 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
49 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
55 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
60#ifndef CONFIG_XML_CONTENT
65 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
71 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
77 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
83 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
89 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
95 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
101 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
107 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
113 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
119 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
125 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
131 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
137 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
143 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
149 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
155 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
161 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
166#ifndef CONFIG_XML_XPATH
171 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
176#ifndef CONFIG_XML_NAV
179 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
185 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
191 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
197 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
202#ifndef CONFIG_XML_FILE
205 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
211 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
217 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
223 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
229 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
234#ifndef CONFIG_XML_BUFF
237 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
243 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
249 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
255 fprintf(stderr,
"** %s: function not implemented. You may need to reconfigure libroxml. **\n", __func__);
#define ROXML_INVALID_NODE
internal header required by all libroxml sources
ROXML_STUB int roxml_read_buff(int pos, int size, char *buffer, node_t *node)
read xml doc function
ROXML_STUB node_t * roxml_get_cmt(node_t *n, int nth)
comment getter function
ROXML_STUB int roxml_get_nodes_nb(node_t *n, int type)
number of nodes getter function
ROXML_STUB node_t * roxml_get_txt(node_t *n, int nth)
text node getter function
ROXML_STUB int roxml_commit_changes(node_t *n, char *dest, char **buffer, int human)
sync function
ROXML_STUB void roxml_close_file(node_t *n)
unload function
ROXML_STUB int roxml_get_pi_nb(node_t *n)
process-instruction number getter function
ROXML_STUB node_t * roxml_get_root(node_t *n)
root getter function
ROXML_STUB node_t * roxml_get_parent(node_t *n)
parent getter function
ROXML_STUB int roxml_commit_file(node_t *n, char *dest, int human)
sync to named file function
ROXML_STUB node_t * roxml_load_doc(char *filename)
load function for files
ROXML_STUB char * roxml_get_content(node_t *n, char *buffer, int bufsize, int *size)
content getter function
ROXML_STUB int roxml_parse_buff(roxml_load_ctx_t *context, roxml_parser_item_t *parser, char *buffer)
generic load function
ROXML_STUB int roxml_get_txt_nb(node_t *n)
text node number getter function
ROXML_STUB int roxml_get_attr_nb(node_t *n)
number of attribute getter function
ROXML_STUB void roxml_del_node(node_t *n)
node deletion function
ROXML_STUB node_t * roxml_load_fd(int fd)
load function for file descriptors
ROXML_STUB node_t * roxml_get_prev_sibling(node_t *n)
prev sibling getter function
ROXML_STUB int roxml_commit_fd(node_t *n, int fd, int human)
sync to file descriptor function
ROXML_STUB node_t * roxml_set_ns(node_t *n, node_t *ns)
namespace setter function
ROXML_STUB node_t * roxml_get_next_sibling(node_t *n)
next sibling getter function
ROXML_STUB int roxml_read_file(int pos, int size, char *buffer, node_t *node)
read xml doc function
ROXML_STUB node_t * roxml_add_node(node_t *parent, int position, int type, char *name, char *value)
add a node to the tree
ROXML_STUB int roxml_parse_file(roxml_load_ctx_t *context, roxml_parser_item_t *parser, FILE *file)
generic load function
ROXML_STUB int roxml_get_node_position(node_t *n)
node get position function
ROXML_STUB node_t * roxml_get_attr(node_t *n, char *name, int nth)
attribute getter function
ROXML_STUB node_t * roxml_get_ns(node_t *n)
namespace getter function
ROXML_STUB node_t * roxml_get_nodes(node_t *n, int type, char *name, int nth)
nodes getter function
ROXML_STUB int roxml_get_cmt_nb(node_t *n)
comments number getter function
ROXML_STUB char * roxml_get_name(node_t *n, char *buffer, int size)
name getter function
ROXML_STUB node_t ** roxml_xpath(node_t *n, char *path, int *nb_ans)
exec path function
ROXML_STUB int roxml_get_chld_nb(node_t *n)
chlds number getter function
ROXML_STUB int roxml_commit_buffer(node_t *n, char **buffer, int human)
sync to a memory buffer function
ROXML_STUB node_t * roxml_load_buf(char *buffer)
load function for buffers
ROXML_STUB int roxml_get_type(node_t *n)
node type function
ROXML_STUB node_t * roxml_get_chld(node_t *n, char *name, int nth)
chld getter function
ROXML_STUB void roxml_close_buff(node_t *n)
unload function
ROXML_STUB node_t * roxml_get_pi(node_t *n, int nth)
process-instruction getter function