• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef BASE_FS_ALLOCATOR_H
2 # define BASE_FS_ALLOCATOR_H
3 
4 # include <time.h>
5 # include <ext2fs/ext2fs.h>
6 
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);
10 
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);
15 
16 #endif /* !BASE_FS_ALLOCATOR_H */
17