61 #if defined(STRICTZIP) || defined(STRICTZIPUNZIP) 64 typedef struct TagzipFile__ {
int unused; } zipFile__;
72 #define ZIP_ERRNO (Z_ERRNO) 73 #define ZIP_PARAMERROR (-102) 74 #define ZIP_BADZIPFILE (-103) 75 #define ZIP_INTERNALERROR (-104) 78 # if MAX_MEM_LEVEL >= 8 79 # define DEF_MEM_LEVEL 8 81 # define DEF_MEM_LEVEL MAX_MEM_LEVEL 110 #define APPEND_STATUS_CREATE (0) 111 #define APPEND_STATUS_CREATEAFTER (1) 112 #define APPEND_STATUS_ADDINZIP (2) 114 extern zipFile ZEXPORT
zipOpen OF((
const char *pathname,
int append));
134 extern zipFile ZEXPORT
zipOpen2 OF((
const char *pathname,
136 zipcharpc* globalcomment,
142 const void* extrafield_local,
143 uInt size_extrafield_local,
144 const void* extrafield_global,
145 uInt size_extrafield_global,
166 const void* extrafield_local,
167 uInt size_extrafield_local,
168 const void* extrafield_global,
169 uInt size_extrafield_global,
182 const void* extrafield_local,
183 uInt size_extrafield_local,
184 const void* extrafield_global,
185 uInt size_extrafield_global,
193 const char* password,
194 uLong crcForCtypting));
217 uLong uncompressed_size,
226 const char* global_comment));
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 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)
int ZEXPORT zipCloseFileInZipRaw(zipFile file, uLong uncompressed_size, uLong crc32)
int ZEXPORT zipWriteInFileInZip(zipFile file, const void *buf, unsigned len)
zipFile ZEXPORT zipOpen(char *pathname, int append) const
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)
zipFile ZEXPORT zipOpen OF((const char *pathname, int append))
int ZEXPORT zipCloseFileInZip(zipFile file)
zipFile ZEXPORT zipOpen2(char *pathname, int append, zipcharpc *globalcomment, zlib_filefunc_def *pzlib_filefunc_def) const
typedef uLong(ZCALLBACK *read_file_func) OF((voidpf opaque
int ZEXPORT zipClose(zipFile file, const char *global_comment)