dav/config.h

changeset 38
b855f76e965b
parent 36
c8755c87ce7f
child 40
a95ee94b9204
equal deleted inserted replaced
37:1c81083a3e46 38:b855f76e965b
27 */ 27 */
28 28
29 #ifndef CONFIG_H 29 #ifndef CONFIG_H
30 #define CONFIG_H 30 #define CONFIG_H
31 31
32 #include <ucx/string.h>
32 #include <stdbool.h> 33 #include <stdbool.h>
33 34
34 #ifdef __cplusplus 35 #ifdef __cplusplus
35 extern "C" { 36 extern "C" {
36 #endif 37 #endif
79 void load_repository(xmlNode *reponode); 80 void load_repository(xmlNode *reponode);
80 void load_key(xmlNode *keynode); 81 void load_key(xmlNode *keynode);
81 void load_proxy(xmlNode *proxynode, int type); 82 void load_proxy(xmlNode *proxynode, int type);
82 sstr_t load_key_file(char *filename); 83 sstr_t load_key_file(char *filename);
83 84
84 Repository* get_repository(char *name); 85 Repository* get_repository(sstr_t name);
85 Key* get_key(char *name); 86 Key* get_key(char *name);
86 Proxy* get_http_proxy(); 87 Proxy* get_http_proxy();
87 Proxy* get_https_proxy(); 88 Proxy* get_https_proxy();
88 89
89 #ifdef __cplusplus 90 #ifdef __cplusplus

mercurial