diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/unarchive.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index 843f68f73..5e87d088e 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -65,10 +65,6 @@ typedef struct archive_handle_s { | |||
65 | } archive_handle_t; | 65 | } archive_handle_t; |
66 | 66 | ||
67 | 67 | ||
68 | extern uint32_t gunzip_crc; | ||
69 | extern off_t gunzip_bytes_out; | ||
70 | |||
71 | |||
72 | extern archive_handle_t *init_handle(void); | 68 | extern archive_handle_t *init_handle(void); |
73 | 69 | ||
74 | extern char filter_accept_all(archive_handle_t *archive_handle); | 70 | extern char filter_accept_all(archive_handle_t *archive_handle); |
@@ -106,14 +102,17 @@ extern const llist_t *find_list_entry(const llist_t *list, const char *filename) | |||
106 | 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); |
107 | 103 | ||
108 | extern USE_DESKTOP(long long) int uncompressStream(int src_fd, int dst_fd); | 104 | extern USE_DESKTOP(long long) int uncompressStream(int src_fd, int dst_fd); |
109 | extern void inflate_init(unsigned int bufsize); | 105 | |
110 | extern void inflate_cleanup(void); | 106 | typedef struct inflate_unzip_result { |
111 | extern USE_DESKTOP(long long) int inflate_unzip(int in, int out); | 107 | off_t bytes_out; |
108 | uint32_t crc; | ||
109 | } inflate_unzip_result; | ||
110 | |||
111 | extern USE_DESKTOP(long long) int inflate_unzip(inflate_unzip_result *res, unsigned bufsize, int in, int out); | ||
112 | extern USE_DESKTOP(long long) int inflate_gunzip(int in, int out); | 112 | extern USE_DESKTOP(long long) int inflate_gunzip(int in, int out); |
113 | extern USE_DESKTOP(long long) int unlzma(int src_fd, int dst_fd); | 113 | extern USE_DESKTOP(long long) int unlzma(int src_fd, int dst_fd); |
114 | 114 | ||
115 | extern int open_transformer(int src_fd, | 115 | extern int open_transformer(int src_fd, |
116 | USE_DESKTOP(long long) int (*transformer)(int src_fd, int dst_fd)); | 116 | USE_DESKTOP(long long) int (*transformer)(int src_fd, int dst_fd)); |
117 | 117 | ||
118 | |||
119 | #endif | 118 | #endif |