diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-03 07:28:38 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-03 07:28:38 +0000 |
commit | 60bce4905cc50e3ec7ea90127823125e0d9acd03 (patch) | |
tree | b46763c692948e7eabdd76f818cee7d2d7de16f0 /include | |
parent | 97b141ac69b0bd548531f828dc7fdc892b8dd944 (diff) | |
download | busybox-60bce4905cc50e3ec7ea90127823125e0d9acd03.tar.gz |
Move bunzip2 idecompression code to libunarchive
Diffstat (limited to 'include')
-rw-r--r-- | include/unarchive.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index d9cf3c05c..56df5dadd 100644 --- a/include/unarchive.h +++ b/include/unarchive.h @@ -7,6 +7,7 @@ #define ARCHIVE_EXTRACT_QUIET 8 #include <sys/types.h> +#include <stdio.h> typedef struct gunzip_s { unsigned short buffer_count; @@ -90,6 +91,8 @@ extern char get_header_ar(archive_handle_t *archive_handle); extern char get_header_tar(archive_handle_t *archive_handle); extern char get_header_tar_gz(archive_handle_t *archive_handle); +extern unsigned char uncompressStream(FILE *zStream, FILE *stream); + extern void seek_sub_file(int src_fd, unsigned int amount); extern const unsigned short data_align(const int src_fd, const unsigned int offset, const unsigned short align_to); extern const llist_t *add_to_list(const llist_t *old_head, const char *new_item); |