diff options
author | Luke Shumaker <lukeshu@beefcake.parabola.nu> | 2018-05-15 17:36:35 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@beefcake.parabola.nu> | 2018-05-15 17:36:35 -0400 |
commit | c787006ee3742ee8384210c4355f73aef7c8d0b8 (patch) | |
tree | 958ae42438961420796a60d7f4a5b0d7cdcc98d9 /lib/dedupe-range.h |
initial commit
Diffstat (limited to 'lib/dedupe-range.h')
-rw-r--r-- | lib/dedupe-range.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/dedupe-range.h b/lib/dedupe-range.h new file mode 100644 index 0000000..028fe08 --- /dev/null +++ b/lib/dedupe-range.h @@ -0,0 +1,10 @@ +#include <stdint.h> + +struct range { + char *filename; + int flags; /* to pass to open(2) */ + uint64_t offset; + uint64_t length; +}; + +void dedupe_range(struct range src, struct range *dsts); |