summaryrefslogtreecommitdiff
path: root/src/block.h
blob: 97098c94ca627708659b11dd63c805c5b8bf6a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef BLOCK_H
#define BLOCK_H
 
#include <ext2fs/ext2fs.h>



errcode_t local_block_iterate3(ext2_filsys fs,
				struct ext2_inode inode,
				int	flags,
				char *block_buf,
				int (*func)(ext2_filsys fs,
					    blk_t	*blocknr,
					    e2_blkcnt_t	blockcnt,
					    blk_t	ref_blk,
					    int		ref_offset,
					    void	*priv_data),
				void *priv_data);




int read_block ( ext2_filsys, blk_t*, void* ); //read filesystem block
#endif //BLOCK_H