aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs/src/mkfs.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-05-28 16:33:21 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-05-30 12:22:56 +0200
commit5197d47639146111bfb365fd543c83c539c8a9c5 (patch)
treed4e47d1c06c1ffd882bba3461f65e34fe9c649ac /bin/gensquashfs/src/mkfs.h
parent6351872732fce77186f401050eee92c7c3aa3461 (diff)
gensquashfs: split glob related code from fstree_from_file.c
The glob function and everything associated is moved to a separate file, the entry point exposed any the special case handling is removed from the other callbacks in fstree_from_file.c 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/gensquashfs/src/mkfs.h b/bin/gensquashfs/src/mkfs.h
index 9205b7b..6c95588 100644
--- a/bin/gensquashfs/src/mkfs.h
+++ b/bin/gensquashfs/src/mkfs.h
@@ -124,4 +124,9 @@ int fstree_from_dir(fstree_t *fs, dir_iterator_t *dir);
int fstree_sort_files(fstree_t *fs, istream_t *sortfile);
+int glob_files(fstree_t *fs, const char *filename, size_t line_num,
+ const char *path, struct stat *basic,
+ const char *basepath, unsigned int glob_flags,
+ const char *extra);
+
#endif /* MKFS_H */