dav/scfg.h

changeset 642
4e23087d3d90
parent 630
046b869a1c49
child 644
a38b15061848
--- a/dav/scfg.h	Sun Sep 15 16:11:58 2019 +0200
+++ b/dav/scfg.h	Mon Sep 16 19:49:04 2019 +0200
@@ -62,7 +62,13 @@
 typedef struct TagConfig   TagConfig;
 typedef struct Versioning  Versioning;
 typedef struct SplitConfig SplitConfig;
-    
+
+enum PushStrategy {
+    PUSH_STRATEGY_METADATA = 0,
+    PUSH_STRATEGY_HASH
+};
+typedef enum PushStrategy PushStrategy;
+
 typedef struct SyncDirectory {
     char *name;
     char *path;
@@ -81,6 +87,7 @@
     int allow_cmd;
     uint32_t symlink;
     time_t lock_timeout;
+    PushStrategy push_strategy;
     bool backuppull;
     bool lockpull;
     bool lockpush;

mercurial