diff -r b138d1241e68 -r 4e23087d3d90 dav/scfg.h --- 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;