summaryrefslogtreecommitdiff
path: root/lib/dedupe-range.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dedupe-range.h')
-rw-r--r--lib/dedupe-range.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/dedupe-range.h b/lib/dedupe-range.h
index 028fe08..142eafc 100644
--- a/lib/dedupe-range.h
+++ b/lib/dedupe-range.h
@@ -1,10 +1,9 @@
#include <stdint.h>
-struct range {
+struct filepos {
char *filename;
int flags; /* to pass to open(2) */
uint64_t offset;
- uint64_t length;
};
-void dedupe_range(struct range src, struct range *dsts);
+void dedupe_range(uint64_t length, struct filepos src, struct filepos *dsts);