1.1 --- a/libe2access/include/e2access/image.h Thu Feb 17 19:41:23 2022 +0100
1.2 +++ b/libe2access/include/e2access/image.h Thu Feb 17 19:42:31 2022 +0100
1.3 @@ -49,16 +49,18 @@
1.4
1.5 int image_file_type(int mode);
1.6
1.7 -errcode_t image_find_next(ext2_filsys fs, ext2_ino_t ino_dir,
1.8 - const char **basename, char *buf, ext2_ino_t *ino);
1.9 +errcode_t image_find_by_path(ext2_filsys fs, const char *path, ext2_ino_t *ino);
1.10
1.11 -errcode_t image_find_path(ext2_filsys fs, const char **pathname,
1.12 - ext2_ino_t *ino);
1.13 +errcode_t image_resolve_by_path(ext2_filsys fs, const char **path,
1.14 + ext2_ino_t *ino);
1.15 +
1.16 +errcode_t image_resolve_next(ext2_filsys fs, ext2_ino_t ino_dir,
1.17 + const char **basename, char *buf, ext2_ino_t *ino);
1.18
1.19 errcode_t image_find_file(ext2_filsys fs, const char *dirname,
1.20 const char *basename, ext2_ino_t *ino);
1.21
1.22 -errcode_t image_inode(ext2_filsys fs, const char *pathname,
1.23 +errcode_t image_inode(ext2_filsys fs, const char *path,
1.24 struct ext2_inode *inode);
1.25
1.26 errcode_t image_inode_refcount_update(ext2_filsys fs, ext2_ino_t ino,
1.27 @@ -77,7 +79,7 @@
1.28 const char **basename, __u16 mode, __u16 uid,
1.29 __u16 gid, ext2_ino_t *ino);
1.30
1.31 -errcode_t image_make_dirs(ext2_filsys fs, const char **pathname,
1.32 +errcode_t image_make_dirs(ext2_filsys fs, const char **path,
1.33 ext2_ino_t ino_dir, __u16 mode, __u16 uid,
1.34 __u16 gid);
1.35