72 #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
75 typedef struct TagunzFile__ {
84 #define UNZ_END_OF_LIST_OF_FILE (-100)
85 #define UNZ_ERRNO (Z_ERRNO)
87 #define UNZ_PARAMERROR (-102)
88 #define UNZ_BADZIPFILE (-103)
89 #define UNZ_INTERNALERROR (-104)
90 #define UNZ_CRCERROR (-105)
92 #define UNZ_AUTO_CLOSE 0x01u
93 #define UNZ_DEFAULT_FLAGS UNZ_AUTO_CLOSE
161 const char* fileName2,
162 int iCaseSensitivity));
208 extern unzFile unzOpenInternal(voidpf file,
210 int is64bitOpenFunction,
256 const char* szFileName,
257 int iCaseSensitivity));
294 uLong fileNameBufferSize,
296 uLong extraFieldBufferSize,
298 uLong commentBufferSize));
303 uLong fileNameBufferSize,
305 uLong extraFieldBufferSize,
307 uLong commentBufferSize));
339 const char* password));
358 (
unzFile file,
int* method,
int* level,
int raw,
const char* password));
unsigned long long int ZPOS64_T
ZPOS64_T pos_in_zip_directory
ZPOS64_T uncompressed_size
uLong pos_in_zip_directory
int ZEXPORT unzGetLocalExtrafield(unzFile file, voidp buf, unsigned len)
unzFile ZEXPORT unzOpen2_64(voidpf file, zlib_filefunc64_def *pzlib_filefunc_def)
int ZEXPORT unzOpenCurrentFilePassword(unzFile file, const char *password)
z_off_t ZEXPORT unztell(unzFile file)
int ZEXPORT unzLocateFile(unzFile file, const char *szFileName, int iCaseSensitivity)
unzFile ZEXPORT unzOpen2(voidpf file, zlib_filefunc_def *pzlib_filefunc32_def)
int ZEXPORT unzStringFileNameCompare(const char *fileName1, const char *fileName2, int iCaseSensitivity)
ZPOS64_T ZEXPORT unztell64(unzFile file)
unzFile ZEXPORT unzOpen(voidpf file)
int ZEXPORT unzGetCurrentFileInfo64(unzFile file, unz_file_info64 *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)
int ZEXPORT unzGoToFirstFile(unzFile file)
int ZEXPORT unzeof(unzFile file)
int ZEXPORT unzOpenCurrentFile2(unzFile file, int *method, int *level, int raw)
int ZEXPORT unzOpenCurrentFile3(unzFile file, int *method, int *level, int raw, const char *password)
int ZEXPORT unzOpenCurrentFile(unzFile file)
int ZEXPORT unzReadCurrentFile(unzFile file, voidp buf, unsigned len)
int ZEXPORT unzGetGlobalInfo64(unzFile file, unz_global_info64 *pglobal_info)
int ZEXPORT unzGetGlobalInfo(unzFile file, unz_global_info *pglobal_info32)
ZPOS64_T ZEXPORT unzGetCurrentFileZStreamPos64(unzFile file)
unzFile ZEXPORT unzOpen64(voidpf file)
int ZEXPORT unzCloseCurrentFile(unzFile file)
int ZEXPORT unzGetCurrentFileInfo(unzFile file, unz_file_info *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)
int ZEXPORT unzGoToNextFile(unzFile file)
int ZEXPORT unzGetGlobalComment(unzFile file, char *szComment, uLong uSizeBuf)
int ZEXPORT unzClose(unzFile file)
int ZEXPORT unzSetOffset(unzFile file, uLong pos)
uLong ZEXPORT unzGetOffset(unzFile file)
int ZEXPORT unzGetFilePos(unzFile file, unz_file_pos *file_pos)
int ZEXPORT unzGetFilePos64(unzFile file, unz64_file_pos *file_pos)
int ZEXPORT unzClearFlags(unzFile file, unsigned flags)
ZPOS64_T ZEXPORT unzGetOffset64(unzFile file)
int ZEXPORT unzGoToFilePos64(unzFile file, const unz64_file_pos *file_pos)
int ZEXPORT unzGoToFilePos(unzFile file, unz_file_pos *file_pos)
struct unz_global_info_s unz_global_info
int ZEXPORT unzSetFlags(unzFile file, unsigned flags)
struct unz_global_info64_s unz_global_info64
int ZEXPORT unzSetOffset64(unzFile file, ZPOS64_T pos)
struct unz_file_pos_s unz_file_pos
struct unz_file_info_s unz_file_info
struct unz_file_info64_s unz_file_info64
struct unz64_file_pos_s unz64_file_pos