dav/config.h

changeset 734
b2cd82149116
parent 730
83f832e345e0
child 747
efbd59642577
--- a/dav/config.h	Sun Aug 08 14:59:02 2021 +0200
+++ b/dav/config.h	Sun Aug 08 16:49:47 2021 +0200
@@ -33,6 +33,7 @@
 #include <stdbool.h>
 #include <libidav/webdav.h>
 #include "pwd.h"
+#include "opt.h"
 
 #ifdef	__cplusplus
 extern "C" {
@@ -99,6 +100,14 @@
 PwdStore* get_pwdstore(void);
 int pwdstore_save(PwdStore *pwdstore);
 
+
+Repository* url2repo_s(sstr_t url, char **path);
+Repository* url2repo(char *url, char **path);
+
+DavSession* connect_to_repo(DavContext *ctx, Repository *repo, char *path, dav_auth_func authfunc, CmdArgs *a);
+
+int request_auth(DavSession *sn, void *userdata);
+
 #ifdef	__cplusplus
 }
 #endif

mercurial