application/config.c

changeset 113
dde28a806552
parent 101
7b3a3130be44
child 114
3da24640513a
equal deleted inserted replaced
112:c3f2f16fa4b8 113:dde28a806552
29 #include <stdio.h> 29 #include <stdio.h>
30 #include <stdlib.h> 30 #include <stdlib.h>
31 #include <string.h> 31 #include <string.h>
32 #include <sys/types.h> 32 #include <sys/types.h>
33 #include <cx/hash_map.h> 33 #include <cx/hash_map.h>
34 #include <cx/utils.h>
35 #include <errno.h> 34 #include <errno.h>
36 #include <libxml/tree.h> 35 #include <libxml/tree.h>
37 36
38 #include "config.h" 37 #include "config.h"
39 #include "system.h" 38 #include "system.h"
40 39
41 #include <libidav/utils.h> 40 #include <libidav/utils.h>
42 #include <libidav/config.h> 41 #include <libidav/config.h>
42
43 #include <cx/streams.h>
43 44
44 #define xstreq(a,b) xmlStrEqual(BAD_CAST a, BAD_CAST b) 45 #define xstreq(a,b) xmlStrEqual(BAD_CAST a, BAD_CAST b)
45 #define xstrEQ(a,b) !xmlStrcasecmp(BAD_CAST a, BAD_CAST b) 46 #define xstrEQ(a,b) !xmlStrcasecmp(BAD_CAST a, BAD_CAST b)
46 47
47 #define print_error(lineno, ...) \ 48 #define print_error(lineno, ...) \

mercurial