diff options
author | Ron Yorston <rmy@pobox.com> | 2018-02-13 09:44:44 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-02-13 09:44:44 +0000 |
commit | dc19a361bd6c6df30338371532691bbc7f7126bb (patch) | |
tree | 1fb2cd646d54b5f8e425c4f11f3e09fc21d1966b /include/bb_archive.h | |
parent | 096aee2bb468d1ab044de36e176ed1f6c7e3674d (diff) | |
parent | 3459024bf404af814cacfe90a0deb719e282ae62 (diff) | |
download | busybox-w32-dc19a361bd6c6df30338371532691bbc7f7126bb.tar.gz busybox-w32-dc19a361bd6c6df30338371532691bbc7f7126bb.tar.bz2 busybox-w32-dc19a361bd6c6df30338371532691bbc7f7126bb.zip |
Merge branch 'busybox' into merge
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 |