From 61b7904afdf2fca21e4d6a4f70a73d1079f8f877 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sat, 19 Oct 2002 10:40:55 +0000 Subject: Update dpkg to use new unarchive code --- include/unarchive.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.1