diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-08 13:05:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-08 13:05:39 +0000 |
commit | c14d39e83a7f55ab9b92e98673a281fd6565c32d (patch) | |
tree | f1cfe7f071b228cf7f1a732046cabf18fa9421b8 /include | |
parent | def8260219797b0f9f734915f4918f34e85e7049 (diff) | |
download | busybox-w32-c14d39e83a7f55ab9b92e98673a281fd6565c32d.tar.gz busybox-w32-c14d39e83a7f55ab9b92e98673a281fd6565c32d.tar.bz2 busybox-w32-c14d39e83a7f55ab9b92e98673a281fd6565c32d.zip |
rmp: add optional support for bz2 data. +50 bytes of code
Diffstat (limited to 'include')
-rw-r--r-- | include/unarchive.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index 8b2da5646..c4e875f39 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -101,7 +101,6 @@ extern void data_align(archive_handle_t *archive_handle, const unsigned short bo | |||
101 | extern const llist_t *find_list_entry(const llist_t *list, const char *filename); | 101 | extern const llist_t *find_list_entry(const llist_t *list, const char *filename); |
102 | extern const llist_t *find_list_entry2(const llist_t *list, const char *filename); | 102 | extern const llist_t *find_list_entry2(const llist_t *list, const char *filename); |
103 | 103 | ||
104 | extern USE_DESKTOP(long long) int uncompressStream(int src_fd, int dst_fd); | ||
105 | /* A bit of bunzip2 internals are exposed for compressed help support: */ | 104 | /* A bit of bunzip2 internals are exposed for compressed help support: */ |
106 | typedef struct bunzip_data bunzip_data; | 105 | typedef struct bunzip_data bunzip_data; |
107 | int start_bunzip(bunzip_data **bdp, int in_fd, const unsigned char *inbuf, int len); | 106 | int start_bunzip(bunzip_data **bdp, int in_fd, const unsigned char *inbuf, int len); |
@@ -113,9 +112,10 @@ typedef struct inflate_unzip_result { | |||
113 | uint32_t crc; | 112 | uint32_t crc; |
114 | } inflate_unzip_result; | 113 | } inflate_unzip_result; |
115 | 114 | ||
116 | extern USE_DESKTOP(long long) int inflate_unzip(inflate_unzip_result *res, unsigned bufsize, int in, int out); | 115 | extern USE_DESKTOP(long long) int unpack_bz2_stream(int src_fd, int dst_fd); |
117 | extern USE_DESKTOP(long long) int inflate_gunzip(int in, int out); | 116 | extern USE_DESKTOP(long long) int inflate_unzip(inflate_unzip_result *res, unsigned bufsize, int src_fd, int dst_fd); |
118 | extern USE_DESKTOP(long long) int unlzma(int src_fd, int dst_fd); | 117 | extern USE_DESKTOP(long long) int unpack_gz_stream(int src_fd, int dst_fd); |
118 | extern USE_DESKTOP(long long) int unpack_lzma_stream(int src_fd, int dst_fd); | ||
119 | 119 | ||
120 | extern int open_transformer(int src_fd, | 120 | extern int open_transformer(int src_fd, |
121 | USE_DESKTOP(long long) int (*transformer)(int src_fd, int dst_fd)); | 121 | USE_DESKTOP(long long) int (*transformer)(int src_fd, int dst_fd)); |