dav/config.h

changeset 43
03076907b58a
parent 40
a95ee94b9204
child 73
41e88442ad4e
--- a/dav/config.h	Tue Mar 18 13:59:02 2014 +0100
+++ b/dav/config.h	Thu Jun 05 15:11:29 2014 +0200
@@ -58,9 +58,10 @@
     char *user;
     char *password;
     char *default_key;
-    bool encrypt;
-    bool decrypt;
-    bool store_key_property;
+    bool encrypt_content;
+    bool encrypt_name;
+    bool decrypt_content;
+    bool decrypt_name;
 };
 
 struct Proxy {
@@ -77,6 +78,8 @@
 sstr_t load_key_file(char *filename);
 
 Repository* get_repository(sstr_t name);
+int get_repository_flags(Repository *repo);
+DavSession *repository_session(Repository *repo);
 Key* get_key(char *name);
 Proxy* get_http_proxy();
 Proxy* get_https_proxy();

mercurial