Sat, 06 Apr 2019 14:25:07 +0200
add hashing config
dav/scfg.c | file | annotate | diff | comparison | revisions | |
dav/scfg.h | file | annotate | diff | comparison | revisions |
--- a/dav/scfg.c Thu Mar 28 20:30:52 2019 +0100 +++ b/dav/scfg.c Sat Apr 06 14:25:07 2019 +0200 @@ -392,6 +392,8 @@ bool backuppull = false; bool lockpull = false; bool lockpush = false; + bool hashing = false; + bool detect_copy = false; time_t lock_timeout = 0; uint32_t metadata = 0; @@ -485,6 +487,8 @@ print_warning(node->line, "integer value " "expected in <lock-timeout> element\n"); } + } else if(xstreq(node->name, "hashing")) { + hashing = util_getboolean(value); } else { print_error(node->line, "unknown directory config element: %s\n", node->name); @@ -527,6 +531,7 @@ dir->backuppull = backuppull; dir->lockpull = lockpull; dir->lockpush = lockpush; + dir->hashing = hashing; dir->lock_timeout = lock_timeout; dir->metadata = metadata; dir->splitconfig = splitconfig;