libarchive: move bbunpack constants to bb_archive.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -250,6 +250,21 @@ int bbunpack(char **argv,
|
||||
char* FAST_FUNC (*make_new_name)(char *filename, const char *expected_ext),
|
||||
const char *expected_ext
|
||||
) FAST_FUNC;
|
||||
#define BBUNPK_OPTSTR "cfkvq"
|
||||
#define BBUNPK_OPTSTRLEN 5
|
||||
#define BBUNPK_OPTSTRMASK ((1 << BBUNPK_OPTSTRLEN) - 1)
|
||||
enum {
|
||||
BBUNPK_OPT_STDOUT = 1 << 0,
|
||||
BBUNPK_OPT_FORCE = 1 << 1,
|
||||
/* only some decompressors: */
|
||||
BBUNPK_OPT_KEEP = 1 << 2,
|
||||
BBUNPK_OPT_VERBOSE = 1 << 3,
|
||||
BBUNPK_OPT_QUIET = 1 << 4,
|
||||
/* not included in BBUNPK_OPTSTR: */
|
||||
BBUNPK_OPT_DECOMPRESS = 1 << 5,
|
||||
BBUNPK_OPT_TEST = 1 << 6,
|
||||
BBUNPK_SEAMLESS_MAGIC = (1 << 31) * ENABLE_ZCAT * SEAMLESS_COMPRESSION,
|
||||
};
|
||||
|
||||
void check_errors_in_children(int signo);
|
||||
#if BB_MMU
|
||||
|
Reference in New Issue
Block a user