diff options
| author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-03 07:28:38 +0000 |
|---|---|---|
| committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-03 07:28:38 +0000 |
| commit | 8f83ea093f732d8e571fb6604288ce7713905f03 (patch) | |
| tree | b46763c692948e7eabdd76f818cee7d2d7de16f0 /include | |
| parent | eccf202b2ac39d486d5679786bcbfd4379cb215b (diff) | |
| download | busybox-w32-8f83ea093f732d8e571fb6604288ce7713905f03.tar.gz busybox-w32-8f83ea093f732d8e571fb6604288ce7713905f03.tar.bz2 busybox-w32-8f83ea093f732d8e571fb6604288ce7713905f03.zip | |
Move bunzip2 idecompression code to libunarchive
git-svn-id: svn://busybox.net/trunk/busybox@5780 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 @@ | |||
| 7 | #define ARCHIVE_EXTRACT_QUIET 8 | 7 | #define ARCHIVE_EXTRACT_QUIET 8 |
| 8 | 8 | ||
| 9 | #include <sys/types.h> | 9 | #include <sys/types.h> |
| 10 | #include <stdio.h> | ||
| 10 | 11 | ||
| 11 | typedef struct gunzip_s { | 12 | typedef struct gunzip_s { |
| 12 | unsigned short buffer_count; | 13 | unsigned short buffer_count; |
| @@ -90,6 +91,8 @@ extern char get_header_ar(archive_handle_t *archive_handle); | |||
| 90 | extern char get_header_tar(archive_handle_t *archive_handle); | 91 | extern char get_header_tar(archive_handle_t *archive_handle); |
| 91 | extern char get_header_tar_gz(archive_handle_t *archive_handle); | 92 | extern char get_header_tar_gz(archive_handle_t *archive_handle); |
| 92 | 93 | ||
| 94 | extern unsigned char uncompressStream(FILE *zStream, FILE *stream); | ||
| 95 | |||
| 93 | extern void seek_sub_file(int src_fd, unsigned int amount); | 96 | extern void seek_sub_file(int src_fd, unsigned int amount); |
| 94 | extern const unsigned short data_align(const int src_fd, const unsigned int offset, const unsigned short align_to); | 97 | extern const unsigned short data_align(const int src_fd, const unsigned int offset, const unsigned short align_to); |
| 95 | extern const llist_t *add_to_list(const llist_t *old_head, const char *new_item); | 98 | extern const llist_t *add_to_list(const llist_t *old_head, const char *new_item); |
