aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-10 23:06:00 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-10 23:06:00 +0000
commit0381d422d9b40c0cf887d299224c7759875aefd8 (patch)
tree764583282951c07bb6b611bef2858c5375647094 /include
parentb6052724ffc9d45894147b70e7aff226938bd2d3 (diff)
downloadbusybox-0381d422d9b40c0cf887d299224c7759875aefd8.tar.gz
dpkg_deb: slight code shrink
ar: reuse existing ar unpacking code get_header_tar: handle autodetection for tiny .tar.gz files too unarchive.h: do not include CONFIGed out things function old new delta get_header_tar 1521 1534 +13 dpkg_deb_main 400 380 -20 ar_main 260 196 -64 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 13/-84) Total: -71 bytes
Diffstat (limited to 'include')
-rw-r--r--include/unarchive.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/unarchive.h b/include/unarchive.h
index 0e380db08..5b71d3e62 100644
--- a/include/unarchive.h
+++ b/include/unarchive.h
@@ -47,11 +47,13 @@ typedef struct archive_handle_t {
/* Process the data component, e.g. extract to filesystem */
void FAST_FUNC (*action_data)(struct archive_handle_t *);
+#if ENABLE_DPKG || ENABLE_DPKG_DEB
+ /* "subarchive" is used only by dpkg[-deb] applets */
/* How to process any sub archive, e.g. get_header_tar_gz */
char FAST_FUNC (*action_data_subarchive)(struct archive_handle_t *);
-
/* Contains the handle to a sub archive */
struct archive_handle_t *sub_archive;
+#endif
/* The raw stream as read from disk or stdin */
int src_fd;