diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-28 00:50:31 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-29 00:26:32 +0200 |
commit | ea8ed35e8665be75923bb483c377421d24ae2faf (patch) | |
tree | 8f0eff30da56d1bb5143dd72e32054cd2c405766 /include | |
parent | 1b832b6dfb8d9da2b94f07ccc95c03614b378786 (diff) |
gensquashfs: use stacked tree iterator in fstree_from_dir
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r-- | include/fstree.h | 4 |
1 files changed, 4 insertions, 0 deletions
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, |