diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-28 15:23:28 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-29 00:26:32 +0200 |
commit | 725949af79cbbf359e90c93e88bf184c6114a502 (patch) | |
tree | 9275b5c0032e7be8d51731bc64777e06614092a3 /bin/gensquashfs/src/mkfs.h | |
parent | 11e36726f61e8615bb873c2d322d85dafcd73e7b (diff) |
gensquashfs: Remove fstree_from_subdir
It is only used in the glob function, so assemble the path there and
jus tuse fstree_from_dir.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/gensquashfs/src/mkfs.h')
-rw-r--r-- | bin/gensquashfs/src/mkfs.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/bin/gensquashfs/src/mkfs.h b/bin/gensquashfs/src/mkfs.h index a58365d..5bcdd16 100644 --- a/bin/gensquashfs/src/mkfs.h +++ b/bin/gensquashfs/src/mkfs.h @@ -43,8 +43,8 @@ #include <ctype.h> /* - Optionally used by fstree_from_dir and fstree_from_subdir to - execute custom actions for each discovered node. + Optionally used by fstree_from_dir to execute custom actions for + each discovered node. If it returns a value > 0, the new node is discarded, if < 0, scanning is aborted and returns a failure status. @@ -133,15 +133,6 @@ int fstree_from_dir(fstree_t *fs, tree_node_t *root, const char *path, scan_node_callback cb, void *user, unsigned int flags); -/* - Same as fstree_from_dir, but scans a sub-directory inside the specified path. - - Returns 0 on success, prints to stderr on failure. - */ -int fstree_from_subdir(fstree_t *fs, tree_node_t *root, - const char *path, const char *subdir, - scan_node_callback cb, void *user, unsigned int flags); - int fstree_sort_files(fstree_t *fs, istream_t *sortfile); #endif /* MKFS_H */ |