From ea8ed35e8665be75923bb483c377421d24ae2faf Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 28 Apr 2023 00:50:31 +0200 Subject: gensquashfs: use stacked tree iterator in fstree_from_dir Signed-off-by: David Oberhollenzer --- include/fstree.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/fstree.h b/include/fstree.h index 96ddf8f..ccd1bcc 100644 --- a/include/fstree.h +++ b/include/fstree.h @@ -160,6 +160,10 @@ tree_node_t *fstree_mknode(tree_node_t *parent, const char *name, tree_node_t *fstree_add_generic(fstree_t *fs, const char *path, const struct stat *sb, const char *extra); +tree_node_t *fstree_add_generic_at(fstree_t *fs, tree_node_t *root, + const char *path, const struct stat *sb, + const char *extra); + /* This function performs all the necessary post processing steps on the file system tree, i.e. recursively sorting all directory entries by name, -- cgit v1.2.3