<libroxml  version="2.2.1" />
contact: tristan.lelong@libroxml.net
roxml-internal.h
Go to the documentation of this file.
1 
23 #ifndef ROXML_INT_H
24 #define ROXML_INT_H
25 
31 #define ROXML_INT
32 
33 #include <stdio.h>
34 #include <stdlib.h>
35 #include <fcntl.h>
36 #include <string.h>
37 
38 #include "roxml-defines.h"
39 #include "roxml-types.h"
40 #include "roxml.h"
41 
51 void ROXML_INT roxml_reset_ns (node_t *n, node_t *ns);
52 
61 
71 node_t* ROXML_INT roxml_create_node (int pos, void * src, int type);
72 
82 
91 void ROXML_INT roxml_close_node (node_t *n, node_t *close);
92 
105 node_t* ROXML_INT roxml_load (node_t *current_node, FILE *file, char *buffer);
106 
116 
126 node_t * ROXML_INT roxml_parent_node (node_t *parent, node_t * n, int position);
127 
137 void * ROXML_INT roxml_malloc (int size, int num, int type);
138 
149 int ROXML_INT roxml_read(int pos, int size, char * buffer, node_t * node);
150 
151 
161 xpath_node_t * ROXML_INT roxml_set_axes (xpath_node_t *node, char *axes, int *offset);
162 
172 int ROXML_INT roxml_parse_xpath (char *path, xpath_node_t ** xpath, int context);
173 
182 
191 void ROXML_INT roxml_free_xpath (xpath_node_t *xpath, int nb);
192 
202 int ROXML_INT roxml_double_cmp (double a, double b, int op);
203 
213 double ROXML_INT roxml_double_oper(double a, double b, int op);
214 
224 int ROXML_INT roxml_string_cmp (char *sa, char *sb, int op);
225 
235 
243 int ROXML_INT roxml_request_id (node_t *root);
244 
255 void ROXML_INT roxml_release_id (node_t *root, node_t **pool, int pool_len, int req_id);
256 
267 int ROXML_INT roxml_add_to_pool (node_t *root, node_t *n, int req_id);
268 
282 int ROXML_INT roxml_validate_axes (node_t *root, node_t *candidat, node_t ***ans, int *nb, int *max, xpath_node_t *xn, int req_id);
283 
298 void ROXML_INT roxml_check_node (xpath_node_t *xp, node_t *root, node_t *context, node_t ***ans, int *nb, int *max, int ignore, int req_id);
299 
311 void ROXML_INT roxml_print_space (FILE *f, char ** buf, int * offset, int * len, in