diff options
author | Ladislav Michl <Ladislav.Michl@seznam.cz> | 2010-06-25 01:33:00 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-25 01:33:00 +0200 |
commit | 2b46fd49b14b2ac30e0c767c65ac2b29f6922a45 (patch) | |
tree | 184e89b5922c87c866c7ae02ca4a87a61d0ac384 /include | |
parent | 51fa147c9bab41cc1f7bf5b2e3bbeddf0fdaf5ca (diff) | |
download | busybox-w32-2b46fd49b14b2ac30e0c767c65ac2b29f6922a45.tar.gz busybox-w32-2b46fd49b14b2ac30e0c767c65ac2b29f6922a45.tar.bz2 busybox-w32-2b46fd49b14b2ac30e0c767c65ac2b29f6922a45.zip |
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 8009de282..f3aa05d09 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -75,6 +75,9 @@ typedef struct archive_handle_t { | |||
75 | char* tar__longname; | 75 | char* tar__longname; |
76 | char* tar__linkname; | 76 | char* tar__linkname; |
77 | # endif | 77 | # endif |
78 | #if ENABLE_FEATURE_TAR_TO_COMMAND | ||
79 | char* tar__to_command; | ||
80 | #endif | ||
78 | # if ENABLE_FEATURE_TAR_SELINUX | 81 | # if ENABLE_FEATURE_TAR_SELINUX |
79 | char* tar__global_sctx; | 82 | char* tar__global_sctx; |
80 | char* tar__next_file_sctx; | 83 | char* tar__next_file_sctx; |
@@ -128,6 +131,7 @@ extern void unpack_ar_archive(archive_handle_t *ar_archive) FAST_FUNC; | |||
128 | extern void data_skip(archive_handle_t *archive_handle) FAST_FUNC; | 131 | extern void data_skip(archive_handle_t *archive_handle) FAST_FUNC; |
129 | extern void data_extract_all(archive_handle_t *archive_handle) FAST_FUNC; | 132 | extern void data_extract_all(archive_handle_t *archive_handle) FAST_FUNC; |
130 | extern void data_extract_to_stdout(archive_handle_t *archive_handle) FAST_FUNC; | 133 | extern void data_extract_to_stdout(archive_handle_t *archive_handle) FAST_FUNC; |
134 | extern void data_extract_to_command(archive_handle_t *archive_handle) FAST_FUNC; | ||
131 | 135 | ||
132 | extern void header_skip(const file_header_t *file_header) FAST_FUNC; | 136 | extern void header_skip(const file_header_t *file_header) FAST_FUNC; |
133 | extern void header_list(const file_header_t *file_header) FAST_FUNC; | 137 | extern void header_list(const file_header_t *file_header) FAST_FUNC; |