iMake some more room in the flags for compression algos - dedup - deduplicating backup program Err bitreich.org 70 hgit clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ URL:git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ bitreich.org 70 1Log /scm/dedup/log.gph bitreich.org 70 1Files /scm/dedup/files.gph bitreich.org 70 1Refs /scm/dedup/refs.gph bitreich.org 70 1Tags /scm/dedup/tag bitreich.org 70 1README /scm/dedup/file/README.gph bitreich.org 70 1LICENSE /scm/dedup/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 1fc2fd3f5bb799b10a39ff687f8f44cc745173d4 /scm/dedup/commit/1fc2fd3f5bb799b10a39ff687f8f44cc745173d4.gph bitreich.org 70 1parent 573a013a9738a43524c0e5994245353b8bd4b564 /scm/dedup/commit/573a013a9738a43524c0e5994245353b8bd4b564.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Wed, 10 Apr 2019 13:41:10 +0100 Err bitreich.org 70 i Err bitreich.org 70 iMake some more room in the flags for compression algos Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M dedup.h | 4 ++-- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 2 insertions(+), 2 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/dedup.h b/dedup.h /scm/dedup/file/dedup.h.gph bitreich.org 70 i@@ -22,10 +22,10 @@ Err bitreich.org 70 i #define VER_MAJ_SHIFT 8 Err bitreich.org 70 i #define VER_MAJ_MASK 0xff Err bitreich.org 70 i Err bitreich.org 70 i-#define HASH_ALGO_SHIFT 18 Err bitreich.org 70 i+#define HASH_ALGO_SHIFT 19 Err bitreich.org 70 i #define HASH_ALGO_MASK 0x7 /* max 8 hash algos */ Err bitreich.org 70 i #define COMPR_ALGO_SHIFT 16 Err bitreich.org 70 i-#define COMPR_ALGO_MASK 0x3 /* max 4 compression algos */ Err bitreich.org 70 i+#define COMPR_ALGO_MASK 0x7 /* max 8 compression algos */ Err bitreich.org 70 i Err bitreich.org 70 i enum compr_algo { Err bitreich.org 70 i COMPR_NONE, Err bitreich.org 70 .