diff options
Diffstat (limited to 'include/bb_archive.h')
-rw-r--r-- | include/bb_archive.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/bb_archive.h b/include/bb_archive.h index acb3c3cbd..c67a299d1 100644 --- a/include/bb_archive.h +++ b/include/bb_archive.h | |||
@@ -260,6 +260,21 @@ int bbunpack(char **argv, | |||
260 | char* FAST_FUNC (*make_new_name)(char *filename, const char *expected_ext), | 260 | char* FAST_FUNC (*make_new_name)(char *filename, const char *expected_ext), |
261 | const char *expected_ext | 261 | const char *expected_ext |
262 | ) FAST_FUNC; | 262 | ) FAST_FUNC; |
263 | #define BBUNPK_OPTSTR "cfkvq" | ||
264 | #define BBUNPK_OPTSTRLEN 5 | ||
265 | #define BBUNPK_OPTSTRMASK ((1 << BBUNPK_OPTSTRLEN) - 1) | ||
266 | enum { | ||
267 | BBUNPK_OPT_STDOUT = 1 << 0, | ||
268 | BBUNPK_OPT_FORCE = 1 << 1, | ||
269 | /* only some decompressors: */ | ||
270 | BBUNPK_OPT_KEEP = 1 << 2, | ||
271 | BBUNPK_OPT_VERBOSE = 1 << 3, | ||
272 | BBUNPK_OPT_QUIET = 1 << 4, | ||
273 | /* not included in BBUNPK_OPTSTR: */ | ||
274 | BBUNPK_OPT_DECOMPRESS = 1 << 5, | ||
275 | BBUNPK_OPT_TEST = 1 << 6, | ||
276 | BBUNPK_SEAMLESS_MAGIC = (1 << 31) * ENABLE_ZCAT * SEAMLESS_COMPRESSION, | ||
277 | }; | ||
263 | 278 | ||
264 | void check_errors_in_children(int signo); | 279 | void check_errors_in_children(int signo); |
265 | #if BB_MMU | 280 | #if BB_MMU |