summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath2002-10-19 10:40:55 +0000
committerGlenn L McGrath2002-10-19 10:40:55 +0000
commit61b7904afdf2fca21e4d6a4f70a73d1079f8f877 (patch)
tree1043011878a4948559389074556e24940a71cfa8 /include
parentc5c1a8a112ebae29862a902e6e511b392c59da74 (diff)
downloadbusybox-61b7904afdf2fca21e4d6a4f70a73d1079f8f877.zip
busybox-61b7904afdf2fca21e4d6a4f70a73d1079f8f877.tar.gz
Update dpkg to use new unarchive code
Diffstat (limited to 'include')
-rw-r--r--include/unarchive.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/unarchive.h b/include/unarchive.h
index 956c74f..d9cf3c0 100644
--- a/include/unarchive.h
+++ b/include/unarchive.h
@@ -57,6 +57,9 @@ typedef struct archive_handle_s {
/* Count the number of bytes processed */
off_t offset;
+ /* Temperary storage */
+ char *buffer;
+
/* Misc. stuff */
unsigned char flags;
@@ -70,10 +73,11 @@ extern char filter_accept_reject_list(const llist_t *accept_list, const llist_t
extern void unpack_ar_archive(archive_handle_t *ar_archive);
-extern void data_gunzip(archive_handle_t *archive_handle);
extern void data_skip(archive_handle_t *archive_handle);
extern void data_extract_all(archive_handle_t *archive_handle);
+extern void data_extract_all_prefix(archive_handle_t *archive_handle);
extern void data_extract_to_stdout(archive_handle_t *archive_handle);
+extern void data_extract_to_buffer(archive_handle_t *archive_handle);
extern void header_skip(const file_header_t *file_header);
extern void header_list(const file_header_t *file_header);