| 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/streams.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> |
| 43 #include <libidav/pwdstore.h> |
42 #include <libidav/pwdstore.h> |
| |
43 |
| |
44 #include <cx/streams.h> |
| 44 |
45 |
| 45 #define xstreq(a,b) xmlStrEqual(BAD_CAST a, BAD_CAST b) |
46 #define xstreq(a,b) xmlStrEqual(BAD_CAST a, BAD_CAST b) |
| 46 #define xstrEQ(a,b) !xmlStrcasecmp(BAD_CAST a, BAD_CAST b) |
47 #define xstrEQ(a,b) !xmlStrcasecmp(BAD_CAST a, BAD_CAST b) |
| 47 |
48 |
| 48 #define print_error(lineno, ...) \ |
49 #define print_error(lineno, ...) \ |