diff -r 6bd37fe6d905 -r ee4e4742391e application/config.h --- a/application/config.h Wed Oct 23 21:46:43 2024 +0200 +++ b/application/config.h Sun Oct 27 18:24:37 2024 +0100 @@ -52,6 +52,9 @@ cxmutstr config_load_file(const char *path); int load_config(DavContext *ctx); +DavConfig* load_config_file(void); + +void set_config(DavConfig *cfg); DavConfig* get_config(void); int store_config(void); void free_config(void); @@ -61,6 +64,7 @@ PwdStore* get_pwdstore(void); int pwdstore_save(PwdStore *pwdstore); + int get_stored_credentials(char *credid, char **user, char **password); int get_location_credentials(DavCfgRepository *repo, const char *path, char **user, char **password);