dedup

data deduplication program
git clone git://git.2f30.org/dedup.git
Log | Files | Refs | README | LICENSE

commit 1fc2fd3f5bb799b10a39ff687f8f44cc745173d4
parent 573a013a9738a43524c0e5994245353b8bd4b564
Author: sin <sin@2f30.org>
Date:   Wed, 10 Apr 2019 13:41:10 +0100

Make some more room in the flags for compression algos

Diffstat:
Mdedup.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dedup.h b/dedup.h @@ -22,10 +22,10 @@ #define VER_MAJ_SHIFT 8 #define VER_MAJ_MASK 0xff -#define HASH_ALGO_SHIFT 18 +#define HASH_ALGO_SHIFT 19 #define HASH_ALGO_MASK 0x7 /* max 8 hash algos */ #define COMPR_ALGO_SHIFT 16 -#define COMPR_ALGO_MASK 0x3 /* max 4 compression algos */ +#define COMPR_ALGO_MASK 0x7 /* max 8 compression algos */ enum compr_algo { COMPR_NONE,