tar: optional support for --to-command
function old new delta data_extract_to_command - 430 +430 dec2env - 44 +44 tar_main 778 819 +41 str2env - 37 +37 tar_var - 32 +32 xputenv - 22 +22 tar_longopts 257 270 +13 ------------------------------------------------------------------------------ (add/remove: 6/0 grow/shrink: 2/0 up/down: 619/0) Total: 619 bytes Signed-off-by: Ladislav Michl <Ladislav.Michl@seznam.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
51fa147c9b
commit
2b46fd49b1
@ -75,6 +75,9 @@ typedef struct archive_handle_t {
|
||||
char* tar__longname;
|
||||
char* tar__linkname;
|
||||
# endif
|
||||
#if ENABLE_FEATURE_TAR_TO_COMMAND
|
||||
char* tar__to_command;
|
||||
#endif
|
||||
# if ENABLE_FEATURE_TAR_SELINUX
|
||||
char* tar__global_sctx;
|
||||
char* tar__next_file_sctx;
|
||||
@ -128,6 +131,7 @@ extern void unpack_ar_archive(archive_handle_t *ar_archive) FAST_FUNC;
|
||||
extern void data_skip(archive_handle_t *archive_handle) FAST_FUNC;
|
||||
extern void data_extract_all(archive_handle_t *archive_handle) FAST_FUNC;
|
||||
extern void data_extract_to_stdout(archive_handle_t *archive_handle) FAST_FUNC;
|
||||
extern void data_extract_to_command(archive_handle_t *archive_handle) FAST_FUNC;
|
||||
|
||||
extern void header_skip(const file_header_t *file_header) FAST_FUNC;
|
||||
extern void header_list(const file_header_t *file_header) FAST_FUNC;
|
||||
|
Reference in New Issue
Block a user