diff options
Diffstat (limited to 'include')
-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 d3a02cf18..8ed20d70e 100644 --- a/include/bb_archive.h +++ b/include/bb_archive.h | |||
@@ -250,6 +250,21 @@ int bbunpack(char **argv, | |||
250 | char* FAST_FUNC (*make_new_name)(char *filename, const char *expected_ext), | 250 | char* FAST_FUNC (*make_new_name)(char *filename, const char *expected_ext), |
251 | const char *expected_ext | 251 | const char *expected_ext |
252 | ) FAST_FUNC; | 252 | ) FAST_FUNC; |
253 | #define BBUNPK_OPTSTR "cfkvq" | ||
254 | #define BBUNPK_OPTSTRLEN 5 | ||
255 | #define BBUNPK_OPTSTRMASK ((1 << BBUNPK_OPTSTRLEN) - 1) | ||
256 | enum { | ||
257 | BBUNPK_OPT_STDOUT = 1 << 0, | ||
258 | BBUNPK_OPT_FORCE = 1 << 1, | ||
259 | /* only some decompressors: */ | ||
260 | BBUNPK_OPT_KEEP = 1 << 2, | ||
261 | BBUNPK_OPT_VERBOSE = 1 << 3, | ||
262 | BBUNPK_OPT_QUIET = 1 << 4, | ||
263 | /* not included in BBUNPK_OPTSTR: */ | ||
264 | BBUNPK_OPT_DECOMPRESS = 1 << 5, | ||
265 | BBUNPK_OPT_TEST = 1 << 6, | ||
266 | BBUNPK_SEAMLESS_MAGIC = (1 << 31) * ENABLE_ZCAT * SEAMLESS_COMPRESSION, | ||
267 | }; | ||
253 | 268 | ||
254 | void check_errors_in_children(int signo); | 269 | void check_errors_in_children(int signo); |
255 | #if BB_MMU | 270 | #if BB_MMU |