summaryrefslogtreecommitdiff
path: root/lib/dedupe-range.h
blob: 142eafcd5c811990adc7dc68e8baf2c862bfe1d0 (plain)
1
2
3
4
5
6
7
8
9
#include <stdint.h>

struct filepos {
	char *filename;
	int flags; /* to pass to open(2) */
	uint64_t offset;
};

void dedupe_range(uint64_t length, struct filepos src, struct filepos *dsts);