63 #ifndef CPL_MINIZIP_ZIP_H_INCLUDED 64 #define CPL_MINIZIP_ZIP_H_INCLUDED 67 #define uLong64 vsi_l_offset 77 #ifndef CPL_MINIZIP_IOAPI_H_INCLUDED 78 #include "cpl_minizip_ioapi.h" 85 #if defined(STRICTZIP) || defined(STRICTZIPUNZIP) 88 typedef struct TagzipFile__ {
int unused; } zipFile__;
89 typedef zipFile__ *zipFile;
91 typedef voidp zipFile;
96 #define ZIP_ERRNO (Z_ERRNO) 97 #define ZIP_PARAMERROR (-102) 98 #define ZIP_BADZIPFILE (-103) 99 #define ZIP_INTERNALERROR (-104) 101 #ifndef DEF_MEM_LEVEL 102 # if MAX_MEM_LEVEL >= 8 103 # define DEF_MEM_LEVEL 8 105 # define DEF_MEM_LEVEL MAX_MEM_LEVEL 131 typedef const char* zipcharpc;
134 #define APPEND_STATUS_CREATE (0) 135 #define APPEND_STATUS_CREATEAFTER (1) 136 #define APPEND_STATUS_ADDINZIP (2) 138 extern zipFile ZEXPORT cpl_zipOpen OF((
const char *pathname,
int append));
158 extern zipFile ZEXPORT cpl_zipOpen2 OF((
const char *pathname,
160 zipcharpc* globalcomment,
163 extern int ZEXPORT cpl_zipOpenNewFileInZip OF((zipFile file,
164 const char* filename,
166 const void* extrafield_local,
167 uInt size_extrafield_local,
168 const void* extrafield_global,
169 uInt size_extrafield_global,
187 extern int ZEXPORT cpl_zipOpenNewFileInZip2 OF((zipFile file,
188 const char* filename,
190 const void* extrafield_local,
191 uInt size_extrafield_local,
192 const void* extrafield_global,
193 uInt size_extrafield_global,
203 extern int ZEXPORT cpl_zipOpenNewFileInZip3 OF((zipFile file,
204 const char* filename,
206 const void* extrafield_local,
207 uInt size_extrafield_local,
208 const void* extrafield_global,
209 uInt size_extrafield_global,
217 const char* password,
218 uLong crcForCtypting));
228 extern int ZEXPORT cpl_zipWriteInFileInZip OF((zipFile file,
235 extern int ZEXPORT cpl_zipCloseFileInZip OF((zipFile file));
240 extern int ZEXPORT cpl_zipCloseFileInZipRaw OF((zipFile file,
241 uLong uncompressed_size,
249 extern int ZEXPORT cpl_zipClose OF((zipFile file,
250 const char* global_comment));
Definition: cpl_minizip_zip.h:111
Definition: cpl_minizip_ioapi.h:62
Definition: cpl_minizip_zip.h:121