56 #ifndef CPL_MINIZIP_UNZIP_H_INCLUDED 57 #define CPL_MINIZIP_UNZIP_H_INCLUDED 60 #define uLong64 vsi_l_offset 70 #ifndef CPL_MINIZIP_IOAPI_H_INCLUDED 71 #include "cpl_minizip_ioapi.h" 79 #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) 82 typedef struct TagunzFile__ {
int unused; } unzFile__;
83 typedef unzFile__ *unzFile;
85 typedef voidp unzFile;
90 #define UNZ_END_OF_LIST_OF_FILE (-100) 91 #define UNZ_ERRNO (Z_ERRNO) 93 #define UNZ_PARAMERROR (-102) 94 #define UNZ_BADZIPFILE (-103) 95 #define UNZ_INTERNALERROR (-104) 96 #define UNZ_CRCERROR (-105) 113 uLong64 number_entry;
123 uLong version_needed;
125 uLong compression_method;
128 uLong64 compressed_size;
129 uLong64 uncompressed_size;
131 uLong size_file_extra;
132 uLong size_file_comment;
134 uLong disk_num_start;
141 extern int ZEXPORT cpl_unzStringFileNameCompare (
const char* fileName1,
142 const char* fileName2,
143 int iCaseSensitivity);
154 extern unzFile ZEXPORT cpl_unzOpen (
const char *path);
165 extern unzFile ZEXPORT cpl_unzOpen2 (
const char *path,
172 extern int ZEXPORT cpl_unzClose (unzFile file);
179 extern int ZEXPORT cpl_unzGetGlobalInfo (unzFile file,
187 extern int ZEXPORT cpl_unzGetGlobalComment (unzFile file,
200 extern int ZEXPORT cpl_unzGoToFirstFile (unzFile file);
206 extern int ZEXPORT cpl_unzGoToNextFile (unzFile file);
213 extern int ZEXPORT cpl_unzLocateFile (unzFile file,
214 const char *szFileName,
215 int iCaseSensitivity);
231 uLong64 pos_in_zip_directory;
235 extern int ZEXPORT cpl_unzGetFilePos(
239 extern int ZEXPORT cpl_unzGoToFilePos(
245 extern int ZEXPORT cpl_unzGetCurrentFileInfo (unzFile file,
248 uLong fileNameBufferSize,
250 uLong extraFieldBufferSize,
252 uLong commentBufferSize);
269 extern uLong64 ZEXPORT cpl_unzGetCurrentFileZStreamPos (unzFile file);
279 extern int ZEXPORT cpl_unzOpenCurrentFile (unzFile file);
285 extern int ZEXPORT cpl_unzOpenCurrentFilePassword (unzFile file,
286 const char* password);
293 extern int ZEXPORT cpl_unzOpenCurrentFile2 (unzFile file,
306 extern int ZEXPORT cpl_unzOpenCurrentFile3 (unzFile file,
310 const char* password);
321 extern int ZEXPORT cpl_unzCloseCurrentFile (unzFile file);
327 extern int ZEXPORT cpl_unzReadCurrentFile (unzFile file,
341 extern z_off_t ZEXPORT cpl_unztell (unzFile file);
346 extern int ZEXPORT cpl_unzeof (unzFile file);
351 extern int ZEXPORT cpl_unzGetLocalExtrafield (unzFile file,
370 extern uLong64 ZEXPORT cpl_unzGetOffset (unzFile file);
373 extern int ZEXPORT cpl_unzSetOffset (unzFile file, uLong64 pos);
Definition: cpl_minizip_unzip.h:120
Definition: cpl_minizip_ioapi.h:56
Definition: cpl_minizip_unzip.h:99
Definition: cpl_minizip_unzip.h:229
Definition: cpl_minizip_unzip.h:111