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)
155 const void* extrafield_local,
156 uInt size_extrafield_local,
157 const void* extrafield_global,
158 uInt size_extrafield_global,
166 const void* extrafield_local,
167 uInt size_extrafield_local,
168 const void* extrafield_global,
169 uInt size_extrafield_global,
195 const void* extrafield_local,
196 uInt size_extrafield_local,
197 const void* extrafield_global,
198 uInt size_extrafield_global,
208 const void* extrafield_local,
209 uInt size_extrafield_local,
210 const void* extrafield_global,
211 uInt size_extrafield_global,
224 const void* extrafield_local,
225 uInt size_extrafield_local,
226 const void* extrafield_global,
227 uInt size_extrafield_global,
235 const char* password,
236 uLong crcForCrypting));
241 const void* extrafield_local,
242 uInt size_extrafield_local,
243 const void* extrafield_global,
244 uInt size_extrafield_global,
252 const char* password,
253 uLong crcForCrypting,
267 const void* extrafield_local,
268 uInt size_extrafield_local,
269 const void* extrafield_global,
270 uInt size_extrafield_global,
278 const char* password,
279 uLong crcForCrypting,
288 const void* extrafield_local,
289 uInt size_extrafield_local,
290 const void* extrafield_global,
291 uInt size_extrafield_global,
299 const char* password,
300 uLong crcForCrypting,
339 const char* global_comment));
unsigned long long int ZPOS64_T
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc static sig const char pathname
uint64_t uncompressed_size
zipFile ZEXPORT zipOpen2(const char *pathname, int append, zipcharpc *globalcomment, zlib_filefunc_def *pzlib_filefunc32_def)
int ZEXPORT zipOpenNewFileInZip(zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level)
int ZEXPORT zipOpenNewFileInZip64(zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int zip64)
int ZEXPORT zipOpenNewFileInZip4(zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting, uLong versionMadeBy, uLong flagBase)
int ZEXPORT zipRemoveExtraInfoBlock(char *pData, int *dataLen, short sHeader)
int ZEXPORT zipCloseFileInZipRaw64(zipFile file, ZPOS64_T uncompressed_size, uLong crc32)
int ZEXPORT zipCloseFileInZipRaw(zipFile file, uLong uncompressed_size, uLong crc32)
int ZEXPORT zipClose(zipFile file, const char *global_comment)
int ZEXPORT zipOpenNewFileInZip4_64(zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting, uLong versionMadeBy, uLong flagBase, int zip64)
int ZEXPORT zipOpenNewFileInZip3(zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting)
zipFile ZEXPORT zipOpen3(const void *pathname, int append, zipcharpc *globalcomment, zlib_filefunc64_32_def *pzlib_filefunc64_32_def)
zipFile ZEXPORT zipOpen2_64(const void *pathname, int append, zipcharpc *globalcomment, zlib_filefunc64_def *pzlib_filefunc_def)
int ZEXPORT zipWriteInFileInZip(zipFile file, const void *buf, unsigned int len)
int ZEXPORT zipOpenNewFileInZip2_64(zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int zip64)
int ZEXPORT zipOpenNewFileInZip3_64(zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting, int zip64)
zipFile ZEXPORT zipOpen(const char *pathname, int append)
int ZEXPORT zipOpenNewFileInZip2(zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw)
int ZEXPORT zipCloseFileInZip(zipFile file)
zipFile ZEXPORT zipOpen64(const void *pathname, int append)
zipFile ZEXPORT zipOpen OF((const char *pathname, int append))
unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, uInt len)