aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs/src/mkfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gensquashfs/src/mkfs.h')
-rw-r--r--bin/gensquashfs/src/mkfs.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/bin/gensquashfs/src/mkfs.h b/bin/gensquashfs/src/mkfs.h
index 3157694..81ad038 100644
--- a/bin/gensquashfs/src/mkfs.h
+++ b/bin/gensquashfs/src/mkfs.h
@@ -42,15 +42,6 @@
#include <errno.h>
#include <ctype.h>
-/*
- 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.
- */
-typedef int (*scan_node_callback)(void *user, dir_entry_t *ent);
-
typedef struct {
sqfs_writer_cfg_t cfg;
unsigned int dirscan_flags;
@@ -129,8 +120,7 @@ int fstree_from_file_stream(fstree_t *fs, istream_t *file,
Returns 0 on success, prints to stderr on failure.
*/
-int fstree_from_dir(fstree_t *fs, dir_iterator_t *dir,
- scan_node_callback cb, void *user);
+int fstree_from_dir(fstree_t *fs, dir_iterator_t *dir);
int fstree_sort_files(fstree_t *fs, istream_t *sortfile);