From 73193347133e750faf27f88fd3ab31ce43aff062 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 21 May 2024 06:59:33 +0200 Subject: Adding upstream version 1.47.1. Signed-off-by: Daniel Baumann --- misc/create_inode.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'misc/create_inode.h') diff --git a/misc/create_inode.h b/misc/create_inode.h index b5eeb42..c75d685 100644 --- a/misc/create_inode.h +++ b/misc/create_inode.h @@ -22,6 +22,12 @@ struct hdlinks_s struct hdlink_s *hdl; }; +struct file_info { + char *path; + size_t path_len; + size_t path_max_len; +}; + #define HDLINK_CNT (4) struct fs_ops_callbacks { @@ -53,5 +59,9 @@ extern errcode_t do_mkdir_internal(ext2_filsys fs, ext2_ino_t cwd, extern errcode_t do_write_internal(ext2_filsys fs, ext2_ino_t cwd, const char *src, const char *dest, ext2_ino_t root); +extern errcode_t add_link(ext2_filsys fs, ext2_ino_t parent_ino, + ext2_ino_t ino, const char *name); +extern errcode_t set_inode_extra(ext2_filsys fs, ext2_ino_t ino, + const struct stat *st); #endif /* _CREATE_INODE_H */ -- cgit v1.2.3