xref: /aosp_15_r20/external/e2fsprogs/contrib/android/base_fs.h (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard Worker #ifndef BASE_FS_H
2*6a54128fSAndroid Build Coastguard Worker # define BASE_FS_H
3*6a54128fSAndroid Build Coastguard Worker 
4*6a54128fSAndroid Build Coastguard Worker # include "fsmap.h"
5*6a54128fSAndroid Build Coastguard Worker # include "hashmap.h"
6*6a54128fSAndroid Build Coastguard Worker # include "block_range.h"
7*6a54128fSAndroid Build Coastguard Worker 
8*6a54128fSAndroid Build Coastguard Worker struct basefs_entry {
9*6a54128fSAndroid Build Coastguard Worker 	char *path;
10*6a54128fSAndroid Build Coastguard Worker 	struct block_range_list blocks;
11*6a54128fSAndroid Build Coastguard Worker };
12*6a54128fSAndroid Build Coastguard Worker 
13*6a54128fSAndroid Build Coastguard Worker extern struct fsmap_format base_fs_format;
14*6a54128fSAndroid Build Coastguard Worker 
15*6a54128fSAndroid Build Coastguard Worker struct ext2fs_hashmap *basefs_parse(const char *file, const char *mountpoint);
16*6a54128fSAndroid Build Coastguard Worker 
17*6a54128fSAndroid Build Coastguard Worker #endif /* !BASE_FS_H */
18