aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/unarchive.h15
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
68extern uint32_t gunzip_crc;
69extern off_t gunzip_bytes_out;
70
71
72extern archive_handle_t *init_handle(void); 68extern archive_handle_t *init_handle(void);
73 69
74extern char filter_accept_all(archive_handle_t *archive_handle); 70extern 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)
106extern const llist_t *find_list_entry2(const llist_t *list, const char *filename); 102extern const llist_t *find_list_entry2(const llist_t *list, const char *filename);
107 103
108extern USE_DESKTOP(long long) int uncompressStream(int src_fd, int dst_fd); 104extern USE_DESKTOP(long long) int uncompressStream(int src_fd, int dst_fd);
109extern void inflate_init(unsigned int bufsize); 105
110extern void inflate_cleanup(void); 106typedef struct inflate_unzip_result {
111extern 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
111extern USE_DESKTOP(long long) int inflate_unzip(inflate_unzip_result *res, unsigned bufsize, int in, int out);
112extern USE_DESKTOP(long long) int inflate_gunzip(int in, int out); 112extern USE_DESKTOP(long long) int inflate_gunzip(int in, int out);
113extern USE_DESKTOP(long long) int unlzma(int src_fd, int dst_fd); 113extern USE_DESKTOP(long long) int unlzma(int src_fd, int dst_fd);
114 114
115extern int open_transformer(int src_fd, 115extern 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