libidav/config.h

changeset 60
ee4e4742391e
parent 49
2f71f4ee247a
equal deleted inserted replaced
59:6bd37fe6d905 60:ee4e4742391e
176 int dav_repository_get_flags(DavCfgRepository *repo); 176 int dav_repository_get_flags(DavCfgRepository *repo);
177 void dav_repository_set_url(DavConfig *config, DavCfgRepository *repo, cxstring newurl); 177 void dav_repository_set_url(DavConfig *config, DavCfgRepository *repo, cxstring newurl);
178 void dav_repository_set_auth(DavConfig *config, DavCfgRepository *repo, cxstring user, cxstring password); 178 void dav_repository_set_auth(DavConfig *config, DavCfgRepository *repo, cxstring user, cxstring password);
179 cxmutstr dav_repository_get_decodedpassword(DavCfgRepository *repo); 179 cxmutstr dav_repository_get_decodedpassword(DavCfgRepository *repo);
180 180
181 int dav_cfg_string_set_value(DavConfig *config, CfgString *str, xmlNode *node); 181 int dav_str2ssl_version(const char *str);
182 void dav_cfg_bool_set_value(DavConfig *config, CfgBool *cbool, xmlNode *node); 182
183 int dav_cfg_string_set_node_value(DavConfig *config, CfgString *str, xmlNode *node);
184 void dav_cfg_bool_set_node_value(DavConfig *config, CfgBool *cbool, xmlNode *node);
185
186 void dav_cfg_string_set_value(DavConfig *config, CfgString *str, xmlNode *parent, cxstring new_value, const char *nodename);
187 void dav_cfg_bool_set_value(DavConfig *config, CfgBool *cbool, xmlNode *parent, DavBool new_value, const char *nodename);
188 void dav_cfg_int_set_value(DavConfig *config, CfgInt *cint, xmlNode *parent, int64_t new_value, const char *nodename);
189 void dav_cfg_uint_set_value(DavConfig *config, CfgUInt *cint, xmlNode *parent, uint64_t new_value, const char *nodename);
190
191 void dav_cfg_string_remove(CfgString *str);
192 void dav_cfg_bool_remove(CfgBool *cbool);
193 void dav_cfg_int_remove(CfgInt *cint);
194 void dav_cfg_uint_remove(CfgUInt *cint);
183 195
184 DavCfgRepository* dav_config_get_repository(DavConfig *config, cxstring name); 196 DavCfgRepository* dav_config_get_repository(DavConfig *config, cxstring name);
185 DavCfgRepository* dav_config_url2repo(DavConfig *config, const char *url, char **path); 197 DavCfgRepository* dav_config_url2repo(DavConfig *config, const char *url, char **path);
186 DavCfgRepository* dav_config_url2repo_s(DavConfig *config, cxstring url, cxmutstr *path); 198 DavCfgRepository* dav_config_url2repo_s(DavConfig *config, cxstring url, cxmutstr *path);
187 199

mercurial