aboutsummaryrefslogtreecommitdiff
path: root/bin/tar2sqfs/tar2sqfs.h
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2023-08-06 21:35:58 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2024-01-24 10:03:07 +0100
commit45e0d72a6778af21174771faa08032cf76eca090 (patch)
tree30b8c8063f91ad50e38d96df519020edbac9d205 /bin/tar2sqfs/tar2sqfs.h
parent2609c2e4abf2ab73c119cdcbd975f656e7277206 (diff)
tar2sqfs: Add option to exclude files
Using --exclude or -E it is now possible to exclude files from the input tar stream. The options can be used multiple times. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'bin/tar2sqfs/tar2sqfs.h')
-rw-r--r--bin/tar2sqfs/tar2sqfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/tar2sqfs/tar2sqfs.h b/bin/tar2sqfs/tar2sqfs.h
index 6e4d123..a9d63ad 100644
--- a/bin/tar2sqfs/tar2sqfs.h
+++ b/bin/tar2sqfs/tar2sqfs.h
@@ -29,6 +29,8 @@ extern bool no_tail_pack;
extern bool no_symlink_retarget;
extern sqfs_writer_cfg_t cfg;
extern char *root_becomes;
+extern char **excludedirs;
+extern size_t num_excludedirs;
void process_args(int argc, char **argv);