]>
git.ipfire.org Git - thirdparty/e2fsprogs.git/blob - contrib/android/basefs_allocator.h
1 #ifndef BASE_FS_ALLOCATOR_H
2 # define BASE_FS_ALLOCATOR_H
5 # include <ext2fs/ext2fs.h>
7 errcode_t
base_fs_alloc_load(ext2_filsys fs
, const char *file
,
8 const char *mountpoint
, const char *src_dir
);
9 void base_fs_alloc_cleanup(ext2_filsys fs
);
11 errcode_t
base_fs_alloc_set_target(ext2_filsys fs
, const char *target_path
,
12 const char *name
, ext2_ino_t parent_ino
, ext2_ino_t root
, mode_t mode
);
13 errcode_t
base_fs_alloc_unset_target(ext2_filsys fs
, const char *target_path
,
14 const char *name
, ext2_ino_t parent_ino
, ext2_ino_t root
, mode_t mode
);
16 #endif /* !BASE_FS_ALLOCATOR_H */