dav/config.h

changeset 832
dff5f4c23aa7
parent 798
d7f5067a27ce
child 833
8aa2dc02d9b7
--- a/dav/config.h	Mon Oct 21 12:47:57 2024 +0200
+++ b/dav/config.h	Wed Oct 23 09:46:33 2024 +0200
@@ -32,10 +32,10 @@
 #include <cx/string.h>
 #include <stdbool.h>
 #include <libidav/webdav.h>
-#include "pwd.h"
 #include "opt.h"
 
 #include <libidav/config.h>
+#include <libidav/pwdstore.h>
 
 #ifdef	__cplusplus
 extern "C" {
@@ -62,6 +62,8 @@
 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);
 
 //Repository* url2repo_s(cxstring url, char **path);
 //Repository* url2repo(const char *url, char **path);

mercurial