dav/utils.h

changeset 17
11dffb40cd91
parent 16
5dbef9e07376
child 32
c9d37bb97ea8
equal deleted inserted replaced
16:5dbef9e07376 17:11dffb40cd91
29 #ifndef UTILS_H 29 #ifndef UTILS_H
30 #define UTILS_H 30 #define UTILS_H
31 31
32 #include <sys/types.h> 32 #include <sys/types.h>
33 #include <libxml/tree.h> 33 #include <libxml/tree.h>
34 #include <ucx/string.h>
34 35
35 #ifdef __cplusplus 36 #ifdef __cplusplus
36 extern "C" { 37 extern "C" {
37 #endif 38 #endif
38 39
48 49
49 char* util_xml_get_text(xmlNode *elm); 50 char* util_xml_get_text(xmlNode *elm);
50 51
51 char* util_base64decode(char* in); 52 char* util_base64decode(char* in);
52 53
54 sstr_t util_getsubstr_until_token(sstr_t str, sstr_t token, sstr_t *sub);
55
53 #ifdef __cplusplus 56 #ifdef __cplusplus
54 } 57 }
55 #endif 58 #endif
56 59
57 #endif /* UTILS_H */ 60 #endif /* UTILS_H */

mercurial