60 #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
63 typedef struct TagunzFile__ {
int unused; } unzFile__;
71 #define UNZ_END_OF_LIST_OF_FILE (-100)
72 #define UNZ_ERRNO (Z_ERRNO)
74 #define UNZ_PARAMERROR (-102)
75 #define UNZ_BADZIPFILE (-103)
76 #define UNZ_INTERNALERROR (-104)
77 #define UNZ_CRCERROR (-105)
122 extern int ZEXPORT unzStringFileNameCompare
OF ((
const char* fileName1,
123 const char* fileName2,
124 int iCaseSensitivity));
135 extern unzFile ZEXPORT unzOpen
OF((
const char *path));
146 extern unzFile ZEXPORT unzOpen2
OF((
const char *path,
153 extern int ZEXPORT unzClose
OF((unzFile file));
160 extern int ZEXPORT unzGetGlobalInfo
OF((unzFile file,
168 extern int ZEXPORT unzGetGlobalComment
OF((unzFile file,
181 extern int ZEXPORT unzGoToFirstFile
OF((unzFile file));
187 extern int ZEXPORT unzGoToNextFile
OF((unzFile file));
194 extern int ZEXPORT unzLocateFile
OF((unzFile file,
195 const char *szFileName,
196 int iCaseSensitivity));
226 extern int ZEXPORT unzGetCurrentFileInfo
OF((unzFile file,
229 uLong fileNameBufferSize,
231 uLong extraFieldBufferSize,
233 uLong commentBufferSize));
252 extern int ZEXPORT unzOpenCurrentFile
OF((unzFile file));
258 extern int ZEXPORT unzOpenCurrentFilePassword
OF((unzFile file,
259 const char* password));
266 extern int ZEXPORT unzOpenCurrentFile2
OF((unzFile file,
279 extern int ZEXPORT unzOpenCurrentFile3
OF((unzFile file,
283 const char* password));
294 extern int ZEXPORT unzCloseCurrentFile
OF((unzFile file));
300 extern int ZEXPORT unzReadCurrentFile
OF((unzFile file,
314 extern z_off_t ZEXPORT unztell
OF((unzFile file));
319 extern int ZEXPORT unzeof
OF((unzFile file));
324 extern int ZEXPORT unzGetLocalExtrafield
OF((unzFile file,