diff options
author | Ladislav Michl | 2010-06-25 01:33:00 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-06-25 01:33:00 +0200 |
commit | 2b46fd49b14b2ac30e0c767c65ac2b29f6922a45 (patch) | |
tree | 184e89b5922c87c866c7ae02ca4a87a61d0ac384 /include | |
parent | 51fa147c9bab41cc1f7bf5b2e3bbeddf0fdaf5ca (diff) | |
download | busybox-2b46fd49b14b2ac30e0c767c65ac2b29f6922a45.zip busybox-2b46fd49b14b2ac30e0c767c65ac2b29f6922a45.tar.gz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/unarchive.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index 8009de2..f3aa05d 100644 --- a/include/unarchive.h +++ b/include/unarchive.h @@ -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; |