File: basefs_allocator.h

package info (click to toggle)
e2fsprogs 1.47.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 44,040 kB
  • sloc: ansic: 132,791; sh: 7,273; makefile: 5,315; awk: 524; perl: 376; cpp: 207; sed: 186; python: 23
file content (16 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef BASE_FS_ALLOCATOR_H
# define BASE_FS_ALLOCATOR_H

# include <time.h>
# include <ext2fs/ext2fs.h>

errcode_t base_fs_alloc_load(ext2_filsys fs, const char *file,
			     const char *mountpoint, const char *src_dir);
void base_fs_alloc_cleanup(ext2_filsys fs);

errcode_t base_fs_alloc_set_target(ext2_filsys fs, const char *target_path,
	const char *name, ext2_ino_t parent_ino, ext2_ino_t root, mode_t mode);
errcode_t base_fs_alloc_unset_target(ext2_filsys fs, const char *target_path,
	const char *name, ext2_ino_t parent_ino, ext2_ino_t root, mode_t mode);

#endif /* !BASE_FS_ALLOCATOR_H */