63 #if defined(STRICTZIP) || defined(STRICTZIPUNZIP)
66 typedef struct TagzipFile__ {
int unused; } zipFile__;
74 #define ZIP_ERRNO (Z_ERRNO)
75 #define ZIP_PARAMERROR (-102)
76 #define ZIP_BADZIPFILE (-103)
77 #define ZIP_INTERNALERROR (-104)
80 # if MAX_MEM_LEVEL >= 8
81 # define DEF_MEM_LEVEL 8
83 # define DEF_MEM_LEVEL MAX_MEM_LEVEL
112 #define APPEND_STATUS_CREATE (0)
113 #define APPEND_STATUS_CREATEAFTER (1)
114 #define APPEND_STATUS_ADDINZIP (2)
116 extern zipFile ZEXPORT
zipOpen OF((
const char *pathname,
int append));
117 extern zipFile ZEXPORT
zipOpen64 OF((
const void *pathname,
int append));
137 extern zipFile ZEXPORT
zipOpen2 OF((
const char *pathname,
139 zipcharpc* globalcomment,
144 zipcharpc* globalcomment,
150 const void* extrafield_local,
151 uInt size_extrafield_local,
152 const void* extrafield_global,
153 uInt size_extrafield_global,
161 const void* extrafield_local,
162 uInt size_extrafield_local,
163 const void* extrafield_global,
164 uInt size_extrafield_global,
190 const void* extrafield_local,
191 uInt size_extrafield_local,
192 const void* extrafield_global,
193 uInt size_extrafield_global,
203 const void* extrafield_local,
204 uInt size_extrafield_local,
205 const void* extrafield_global,
206 uInt size_extrafield_global,
219 const void* extrafield_local,
220 uInt size_extrafield_local,
221 const void* extrafield_global,
222 uInt size_extrafield_global,
231 uLong crcForCrypting));
236 const void* extrafield_local,
237 uInt size_extrafield_local,
238 const void* extrafield_global,
239 uInt size_extrafield_global,
248 uLong crcForCrypting,
262 const void* extrafield_local,
263 uInt size_extrafield_local,
264 const void* extrafield_global,
265 uInt size_extrafield_global,
274 uLong crcForCrypting,
283 const void* extrafield_local,
284 uInt size_extrafield_local,
285 const void* extrafield_global,
286 uInt size_extrafield_global,
295 uLong crcForCrypting,
320 uLong uncompressed_size,
334 const char* global_comment));