aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-02-23 13:45:18 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-02-23 13:45:18 +0100
commit6111f967f5299d2eb82fb8eb4bf3b3a4272e3f44 (patch)
tree9fccf7ef8fdabd40aa048ae8a5048dd1035def13 /include
parentaf36ba206f7cf0eef77a82af741766a2d03c51ad (diff)
downloadbusybox-w32-6111f967f5299d2eb82fb8eb4bf3b3a4272e3f44.tar.gz
busybox-w32-6111f967f5299d2eb82fb8eb4bf3b3a4272e3f44.tar.bz2
busybox-w32-6111f967f5299d2eb82fb8eb4bf3b3a4272e3f44.zip
tar: add support for PAX-encoded path=LONGFILENAME
function old new delta get_header_tar 1478 1759 +281 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/bb_archive.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/bb_archive.h b/include/bb_archive.h
index d1a9a34ec..4987de6cf 100644
--- a/include/bb_archive.h
+++ b/include/bb_archive.h
@@ -77,19 +77,20 @@ typedef struct archive_handle_t {
77 off_t offset; 77 off_t offset;
78 78
79 /* Archiver specific. Can make it a union if it ever gets big */ 79 /* Archiver specific. Can make it a union if it ever gets big */
80#define PAX_NEXT_FILE 0
81#define PAX_GLOBAL 1
80#if ENABLE_TAR || ENABLE_DPKG || ENABLE_DPKG_DEB 82#if ENABLE_TAR || ENABLE_DPKG || ENABLE_DPKG_DEB
81 smallint tar__end; 83 smallint tar__end;
82# if ENABLE_FEATURE_TAR_GNU_EXTENSIONS 84# if ENABLE_FEATURE_TAR_GNU_EXTENSIONS
83 char* tar__longname; 85 char* tar__longname;
84 char* tar__linkname; 86 char* tar__linkname;
85# endif 87# endif
86#if ENABLE_FEATURE_TAR_TO_COMMAND 88# if ENABLE_FEATURE_TAR_TO_COMMAND
87 char* tar__to_command; 89 char* tar__to_command;
88 const char* tar__to_command_shell; 90 const char* tar__to_command_shell;
89#endif 91# endif
90# if ENABLE_FEATURE_TAR_SELINUX 92# if ENABLE_FEATURE_TAR_SELINUX
91 char* tar__global_sctx; 93 char* tar__sctx[2];
92 char* tar__next_file_sctx;
93# endif 94# endif
94#endif 95#endif
95#if ENABLE_CPIO || ENABLE_RPM2CPIO || ENABLE_RPM 96#if ENABLE_CPIO || ENABLE_RPM2CPIO || ENABLE_RPM