1#ifndef BLOCK_RANGE_H
2# define BLOCK_RANGE_H
3
4# include <sys/types.h>
5# include <ext2fs/ext2fs.h>
6
7struct block_range {
8	blk64_t start;
9	blk64_t end;
10	struct block_range *next;
11};
12
13void add_blocks_to_range(struct block_range **head, struct block_range **tail,
14			 blk64_t blk_start, blk64_t blk_end);
15void delete_block_ranges(struct block_range *head);
16int write_block_ranges(FILE *f, struct block_range *range, char *sep);
17
18#endif /* !BLOCK_RANGE_H */
19