#include "unzip.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "crypt.h"
Go to the source code of this file.
Data Structures | |
struct | unz_file_info_internal_s |
struct | file_in_zip_read_info_s |
struct | unz_s |
Defines | |
#define | local static |
#define | CASESENSITIVITYDEFAULT_NO |
#define | UNZ_BUFSIZE (16384) |
#define | UNZ_MAXFILENAMEINZIP (256) |
#define | ALLOC(size) (malloc(size)) |
#define | TRYFREE(p) {if (p) free(p);} |
#define | SIZECENTRALDIRITEM (0x2e) |
#define | SIZEZIPLOCALHEADER (0x1e) |
#define | CASESENSITIVITYDEFAULTVALUE 2 |
#define | STRCMPCASENOSENTIVEFUNCTION strcmpcasenosensitive_internal |
#define | BUFREADCOMMENT (0x400) |
Typedefs | |
typedef struct unz_file_info_internal_s | unz_file_info_internal |
Functions | |
local int unzlocal_getByte | OF ((const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, int *pi)) |
local int | unzlocal_getByte (zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, int *pi) const |
local int unzlocal_getShort | OF ((const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX)) |
local int | unzlocal_getShort (zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX) const |
local int | unzlocal_getLong (zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX) const |
local int | strcmpcasenosensitive_internal (char *fileName1, const char *fileName2) const |
int ZEXPORT | unzStringFileNameCompare (char *fileName1, const char *fileName2, int iCaseSensitivity) const |
local uLong unzlocal_SearchCentralDir | OF ((const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream)) |
local uLong | unzlocal_SearchCentralDir (zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream) const |
unzFile ZEXPORT | unzOpen2 (char *path, zlib_filefunc_def *pzlib_filefunc_def) const |
unzFile ZEXPORT | unzOpen (char *path) const |
int ZEXPORT | unzClose (unzFile file) |
int ZEXPORT | unzGetGlobalInfo (unzFile file, unz_global_info *pglobal_info) |
local void | unzlocal_DosDateToTmuDate (uLong ulDosDate, tm_unz *ptm) |
local int unzlocal_GetCurrentFileInfoInternal | OF ((unzFile file, unz_file_info *pfile_info, unz_file_info_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)) |
Get info about the current file in the zipfile, with internal only info. | |
local int | unzlocal_GetCurrentFileInfoInternal (unzFile file, unz_file_info *pfile_info, unz_file_info_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) |
int ZEXPORT | unzGetCurrentFileInfo (unzFile file, unz_file_info *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) |
int ZEXPORT | unzGoToFirstFile (unzFile file) |
int ZEXPORT | unzGoToNextFile (unzFile file) |
int ZEXPORT | unzLocateFile (unzFile file, const char *szFileName, int iCaseSensitivity) |
int ZEXPORT | unzGetFilePos (unzFile file, unz_file_pos *file_pos) |
int ZEXPORT | unzGoToFilePos (unzFile file, unz_file_pos *file_pos) |
local int | unzlocal_CheckCurrentFileCoherencyHeader (unz_s *s, uInt *piSizeVar, uLong *poffset_local_extrafield, uInt *psize_local_extrafield) |
int ZEXPORT | unzOpenCurrentFile3 (unzFile file, int *method, int *level, int raw, const char *password) |
int ZEXPORT | unzOpenCurrentFile (unzFile file) |
int ZEXPORT | unzOpenCurrentFilePassword (unzFile file, const char *password) |
int ZEXPORT | unzOpenCurrentFile2 (unzFile file, int *method, int *level, int raw) |
int ZEXPORT | unzReadCurrentFile (unzFile file, voidp buf, unsigned len) |
z_off_t ZEXPORT | unztell (unzFile file) |
int ZEXPORT | unzeof (unzFile file) |
int ZEXPORT | unzGetLocalExtrafield (unzFile file, voidp buf, unsigned len) |
int ZEXPORT | unzCloseCurrentFile (unzFile file) |
int ZEXPORT | unzGetGlobalComment (unzFile file, char *szComment, uLong uSizeBuf) |
uLong ZEXPORT | unzGetOffset (unzFile file) |
int ZEXPORT | unzSetOffset (unzFile file, uLong pos) |
int ZEXPORT | unzSetCurrentFileInfoPosition (unzFile file, unsigned long pos) |
int ZEXPORT | unzGetCurrentFileInfoPosition (unzFile file, unsigned long *pos) |
Variables | |
const char | unz_copyright [] |
Definition at line 76 of file unzip.c.
Referenced by unzlocal_SearchCentralDir(), unzOpen2(), and unzOpenCurrentFile3().
#define BUFREADCOMMENT (0x400) |
Definition at line 318 of file unzip.c.
Referenced by unzlocal_SearchCentralDir().
#define CASESENSITIVITYDEFAULTVALUE 2 |
Definition at line 285 of file unzip.c.
Referenced by unzStringFileNameCompare().
#define SIZECENTRALDIRITEM (0x2e) |
Definition at line 82 of file unzip.c.
Referenced by unzGoToNextFile().
#define SIZEZIPLOCALHEADER (0x1e) |
Definition at line 83 of file unzip.c.
Referenced by unzlocal_CheckCurrentFileCoherencyHeader(), and unzOpenCurrentFile3().
#define STRCMPCASENOSENTIVEFUNCTION strcmpcasenosensitive_internal |
Definition at line 291 of file unzip.c.
Referenced by unzStringFileNameCompare().
#define TRYFREE | ( | p | ) | {if (p) free(p);} |
Definition at line 79 of file unzip.c.
Referenced by unzClose(), unzCloseCurrentFile(), unzlocal_SearchCentralDir(), and unzOpenCurrentFile3().
#define UNZ_BUFSIZE (16384) |
Definition at line 68 of file unzip.c.
Referenced by unzOpenCurrentFile3(), and unzReadCurrentFile().
#define UNZ_MAXFILENAMEINZIP (256) |
Definition at line 72 of file unzip.c.
Referenced by unzLocateFile().
typedef struct unz_file_info_internal_s unz_file_info_internal |
local int unzlocal_GetCurrentFileInfoInternal OF | ( | (unzFile file, unz_file_info *pfile_info, unz_file_info_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) | ) |
Get info about the current file in the zipfile, with internal only info.
local uLong unzlocal_SearchCentralDir OF | ( | (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream) | ) |
local int unzlocal_getLong OF | ( | (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX) | ) |
local int unzlocal_getByte OF | ( | (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, int *pi) | ) |
local int strcmpcasenosensitive_internal | ( | char* | fileName1, | |
const char* | fileName2 | |||
) | const |
int ZEXPORT unzClose | ( | unzFile | file | ) |
Definition at line 509 of file unzip.c.
References unz_s::filestream, unz_s::pfile_in_zip_read, TRYFREE, UNZ_OK, UNZ_PARAMERROR, unzCloseCurrentFile(), unz_s::z_filefunc, and ZCLOSE.
Referenced by FS_Shutdown().
int ZEXPORT unzCloseCurrentFile | ( | unzFile | file | ) |
Definition at line 1494 of file unzip.c.
References file_in_zip_read_info_s::crc32, file_in_zip_read_info_s::crc32_wait, unz_s::pfile_in_zip_read, file_in_zip_read_info_s::raw, file_in_zip_read_info_s::read_buffer, file_in_zip_read_info_s::rest_read_uncompressed, file_in_zip_read_info_s::stream, file_in_zip_read_info_s::stream_initialised, TRYFREE, UNZ_CRCERROR, UNZ_OK, and UNZ_PARAMERROR.
Referenced by FS_CloseFile(), unzClose(), and unzOpenCurrentFile3().
int ZEXPORT unzeof | ( | unzFile | file | ) |
Definition at line 1410 of file unzip.c.
References unz_s::pfile_in_zip_read, file_in_zip_read_info_s::rest_read_uncompressed, and UNZ_PARAMERROR.
int ZEXPORT unzGetCurrentFileInfo | ( | unzFile | file, | |
unz_file_info * | pfile_info, | |||
char * | szFileName, | |||
uLong | fileNameBufferSize, | |||
void * | extraField, | |||
uLong | extraFieldBufferSize, | |||
char * | szComment, | |||
uLong | commentBufferSize | |||
) |
Definition at line 748 of file unzip.c.
References unzlocal_GetCurrentFileInfoInternal().
Referenced by FS_LoadPackFile(), FS_OpenFileSingle(), and unzLocateFile().
int ZEXPORT unzGetCurrentFileInfoPosition | ( | unzFile | file, | |
unsigned long * | pos | |||
) |
Definition at line 1630 of file unzip.c.
References unz_s::pos_in_central_dir, UNZ_OK, and UNZ_PARAMERROR.
Referenced by FS_LoadPackFile(), and FS_OpenFileSingle().
int ZEXPORT unzGetFilePos | ( | unzFile | file, | |
unz_file_pos* | file_pos | |||
) |
Definition at line 907 of file unzip.c.
References unz_s::current_file_ok, unz_s::num_file, unz_file_pos_s::num_of_file, unz_s::pos_in_central_dir, unz_file_pos_s::pos_in_zip_directory, UNZ_END_OF_LIST_OF_FILE, UNZ_OK, and UNZ_PARAMERROR.
int ZEXPORT unzGetGlobalComment | ( | unzFile | file, | |
char * | szComment, | |||
uLong | uSizeBuf | |||
) |
Definition at line 1537 of file unzip.c.
References unz_s::central_pos, unz_s::filestream, unz_s::gi, unz_global_info_s::size_comment, uLong(), UNZ_ERRNO, UNZ_PARAMERROR, unz_s::z_filefunc, ZLIB_FILEFUNC_SEEK_SET, ZREAD, and ZSEEK.
int ZEXPORT unzGetGlobalInfo | ( | unzFile | file, | |
unz_global_info * | pglobal_info | |||
) |
Definition at line 530 of file unzip.c.
References unz_s::gi, UNZ_OK, and UNZ_PARAMERROR.
Referenced by FS_LoadPackFile().
int ZEXPORT unzGetLocalExtrafield | ( | unzFile | file, | |
voidp | buf, | |||
unsigned | len | |||
) |
Definition at line 1443 of file unzip.c.
References file_in_zip_read_info_s::filestream, file_in_zip_read_info_s::offset_local_extrafield, unz_s::pfile_in_zip_read, file_in_zip_read_info_s::pos_local_extrafield, file_in_zip_read_info_s::size_local_extrafield, uLong(), UNZ_ERRNO, UNZ_PARAMERROR, file_in_zip_read_info_s::z_filefunc, ZLIB_FILEFUNC_SEEK_SET, ZREAD, and ZSEEK.
uLong ZEXPORT unzGetOffset | ( | unzFile | file | ) |
Definition at line 1568 of file unzip.c.
References unz_s::current_file_ok, unz_s::gi, unz_s::num_file, unz_global_info_s::number_entry, unz_s::pos_in_central_dir, and UNZ_PARAMERROR.
int ZEXPORT unzGoToFilePos | ( | unzFile | file, | |
unz_file_pos* | file_pos | |||
) |
Definition at line 925 of file unzip.c.
References unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::current_file_ok, unz_s::num_file, unz_file_pos_s::num_of_file, unz_s::pos_in_central_dir, unz_file_pos_s::pos_in_zip_directory, UNZ_OK, UNZ_PARAMERROR, and unzlocal_GetCurrentFileInfoInternal().
int ZEXPORT unzGoToFirstFile | ( | unzFile | file | ) |
Definition at line 772 of file unzip.c.
References unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::current_file_ok, unz_s::num_file, unz_s::offset_central_dir, unz_s::pos_in_central_dir, UNZ_OK, UNZ_PARAMERROR, and unzlocal_GetCurrentFileInfoInternal().
Referenced by FS_LoadPackFile(), unzLocateFile(), and unzOpen2().
int ZEXPORT unzGoToNextFile | ( | unzFile | file | ) |
Definition at line 794 of file unzip.c.
References unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::current_file_ok, unz_s::gi, unz_s::num_file, unz_global_info_s::number_entry, unz_s::pos_in_central_dir, unz_file_info_s::size_file_comment, unz_file_info_s::size_file_extra, unz_file_info_s::size_filename, SIZECENTRALDIRITEM, UNZ_END_OF_LIST_OF_FILE, UNZ_OK, UNZ_PARAMERROR, and unzlocal_GetCurrentFileInfoInternal().
Referenced by FS_LoadPackFile(), and unzLocateFile().
local int unzlocal_CheckCurrentFileCoherencyHeader | ( | unz_s* | s, | |
uInt* | piSizeVar, | |||
uLong * | poffset_local_extrafield, | |||
uInt * | psize_local_extrafield | |||
) |
Definition at line 961 of file unzip.c.
References SIZEZIPLOCALHEADER, uLong(), UNZ_BADZIPFILE, UNZ_ERRNO, UNZ_OK, unzlocal_getLong(), unzlocal_getShort(), ZLIB_FILEFUNC_SEEK_SET, and ZSEEK.
Referenced by unzOpenCurrentFile3().
local void unzlocal_DosDateToTmuDate | ( | uLong | ulDosDate, | |
tm_unz* | ptm | |||
) |
Definition at line 546 of file unzip.c.
References tm_unz_s::tm_hour, tm_unz_s::tm_mday, tm_unz_s::tm_min, tm_unz_s::tm_mon, tm_unz_s::tm_sec, tm_unz_s::tm_year, and uLong().
Referenced by unzlocal_GetCurrentFileInfoInternal().
local int unzlocal_getByte | ( | zlib_filefunc_def* | pzlib_filefunc_def, | |
voidpf | filestream, | |||
int * | pi | |||
) | const |
Definition at line 169 of file unzip.c.
References int(), UNZ_EOF, UNZ_ERRNO, UNZ_OK, ZERROR, and ZREAD.
Referenced by unzlocal_getLong(), and unzlocal_getShort().
local int unzlocal_GetCurrentFileInfoInternal | ( | unzFile | file, | |
unz_file_info * | pfile_info, | |||
unz_file_info_internal * | pfile_info_internal, | |||
char * | szFileName, | |||
uLong | fileNameBufferSize, | |||
void * | extraField, | |||
uLong | extraFieldBufferSize, | |||
char * | szComment, | |||
uLong | commentBufferSize | |||
) |
Definition at line 577 of file unzip.c.
References unz_s::byte_before_the_zipfile, unz_file_info_s::compressed_size, unz_file_info_s::compression_method, unz_file_info_s::crc, unz_file_info_s::disk_num_start, unz_file_info_s::dosDate, unz_file_info_s::external_fa, unz_s::filestream, unz_file_info_s::flag, unz_file_info_s::internal_fa, unz_file_info_internal_s::offset_curfile, unz_s::pos_in_central_dir, unz_file_info_s::size_file_comment, unz_file_info_s::size_file_extra, unz_file_info_s::size_filename, unz_file_info_s::tmu_date, uLong(), unz_file_info_s::uncompressed_size, UNZ_BADZIPFILE, UNZ_ERRNO, UNZ_OK, UNZ_PARAMERROR, unzlocal_DosDateToTmuDate(), unzlocal_getLong(), unzlocal_getShort(), unz_file_info_s::version, unz_file_info_s::version_needed, unz_s::z_filefunc, ZLIB_FILEFUNC_SEEK_CUR, ZLIB_FILEFUNC_SEEK_SET, ZREAD, and ZSEEK.
Referenced by unzGetCurrentFileInfo(), unzGoToFilePos(), unzGoToFirstFile(), unzGoToNextFile(), unzSetCurrentFileInfoPosition(), and unzSetOffset().
local int unzlocal_getLong | ( | zlib_filefunc_def* | pzlib_filefunc_def, | |
voidpf | filestream, | |||
uLong * | pX | |||
) | const |
Definition at line 227 of file unzip.c.
References i, uLong(), UNZ_OK, and unzlocal_getByte().
Referenced by unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), and unzOpen2().
local int unzlocal_getShort | ( | zlib_filefunc_def* | pzlib_filefunc_def, | |
voidpf | filestream, | |||
uLong * | pX | |||
) | const |
Definition at line 199 of file unzip.c.
References i, uLong(), UNZ_OK, and unzlocal_getByte().
Referenced by unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), and unzOpen2().
local uLong unzlocal_SearchCentralDir | ( | zlib_filefunc_def* | pzlib_filefunc_def, | |
voidpf | filestream | |||
) | const |
Definition at line 329 of file unzip.c.
References ALLOC, BUFREADCOMMENT, i, TRYFREE, uLong(), ZLIB_FILEFUNC_SEEK_END, ZLIB_FILEFUNC_SEEK_SET, ZREAD, ZSEEK, and ZTELL.
Referenced by unzOpen2().
int ZEXPORT unzLocateFile | ( | unzFile | file, | |
const char * | szFileName, | |||
int | iCaseSensitivity | |||
) |
Definition at line 828 of file unzip.c.
References unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::current_file_ok, unz_s::num_file, unz_s::pos_in_central_dir, uLong(), UNZ_END_OF_LIST_OF_FILE, UNZ_MAXFILENAMEINZIP, UNZ_OK, UNZ_PARAMERROR, unzGetCurrentFileInfo(), unzGoToFirstFile(), unzGoToNextFile(), and unzStringFileNameCompare().
Referenced by FS_OpenFileSingle().
unzFile ZEXPORT unzOpen | ( | char * | path | ) | const |
unzFile ZEXPORT unzOpen2 | ( | char * | path, | |
zlib_filefunc_def* | pzlib_filefunc_def | |||
) | const |
Definition at line 395 of file unzip.c.
References ALLOC, unz_s::byte_before_the_zipfile, unz_s::central_pos, unz_s::encrypted, unz_s::filestream, fill_fopen_filefunc(), unz_s::gi, unz_global_info_s::number_entry, unz_s::offset_central_dir, zlib_filefunc_def_s::opaque, unz_s::pfile_in_zip_read, unz_s::size_central_dir, unz_global_info_s::size_comment, uLong(), UNZ_BADZIPFILE, unz_copyright, UNZ_ERRNO, UNZ_OK, unzGoToFirstFile(), unzlocal_getLong(), unzlocal_getShort(), unzlocal_SearchCentralDir(), unz_s::z_filefunc, ZCLOSE, ZLIB_FILEFUNC_MODE_EXISTING, ZLIB_FILEFUNC_MODE_READ, ZLIB_FILEFUNC_SEEK_SET, zlib_filefunc_def_s::zopen_file, and ZSEEK.
Referenced by unzOpen().
int ZEXPORT unzOpenCurrentFile | ( | unzFile | file | ) |
Definition at line 1197 of file unzip.c.
References unzOpenCurrentFile3().
Referenced by FS_OpenFileSingle(), and FS_Seek().
int ZEXPORT unzOpenCurrentFile2 | ( | unzFile | file, | |
int* | method, | |||
int* | level, | |||
int | raw | |||
) |
Definition at line 1210 of file unzip.c.
References unzOpenCurrentFile3().
int ZEXPORT unzOpenCurrentFile3 | ( | unzFile | file, | |
int* | method, | |||
int* | level, | |||
int | raw, | |||
const char* | password | |||
) |
Definition at line 1052 of file unzip.c.
References ALLOC, unz_s::byte_before_the_zipfile, file_in_zip_read_info_s::byte_before_the_zipfile, unz_file_info_s::compressed_size, file_in_zip_read_info_s::compression_method, unz_file_info_s::compression_method, unz_file_info_s::crc, file_in_zip_read_info_s::crc32, file_in_zip_read_info_s::crc32_wait, unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::current_file_ok, unz_s::encrypted, unz_s::filestream, file_in_zip_read_info_s::filestream, unz_file_info_s::flag, i, int(), unz_s::keys, unz_file_info_internal_s::offset_curfile, file_in_zip_read_info_s::offset_local_extrafield, unz_s::pcrc_32_tab, unz_s::pfile_in_zip_read, file_in_zip_read_info_s::pos_in_zipfile, file_in_zip_read_info_s::pos_local_extrafield, file_in_zip_read_info_s::raw, file_in_zip_read_info_s::read_buffer, file_in_zip_read_info_s::rest_read_compressed, file_in_zip_read_info_s::rest_read_uncompressed, SEEK_SET, file_in_zip_read_info_s::size_local_extrafield, SIZEZIPLOCALHEADER, file_in_zip_read_info_s::stream, file_in_zip_read_info_s::stream_initialised, TRYFREE, uLong(), unz_file_info_s::uncompressed_size, UNZ_BADZIPFILE, UNZ_BUFSIZE, UNZ_INTERNALERROR, UNZ_OK, UNZ_PARAMERROR, unzCloseCurrentFile(), unzlocal_CheckCurrentFileCoherencyHeader(), voidpf(), unz_s::z_filefunc, file_in_zip_read_info_s::z_filefunc, ZREAD, and ZSEEK.
Referenced by unzOpenCurrentFile(), unzOpenCurrentFile2(), and unzOpenCurrentFilePassword().
int ZEXPORT unzOpenCurrentFilePassword | ( | unzFile | file, | |
const char* | password | |||
) |
Definition at line 1203 of file unzip.c.
References unzOpenCurrentFile3().
int ZEXPORT unzReadCurrentFile | ( | unzFile | file, | |
voidp | buf, | |||
unsigned | len | |||
) |
Definition at line 1229 of file unzip.c.
References file_in_zip_read_info_s::byte_before_the_zipfile, file_in_zip_read_info_s::compression_method, file_in_zip_read_info_s::crc32, unz_s::encrypted, file_in_zip_read_info_s::filestream, i, unz_s::keys, unz_s::pcrc_32_tab, unz_s::pfile_in_zip_read, file_in_zip_read_info_s::pos_in_zipfile, file_in_zip_read_info_s::raw, file_in_zip_read_info_s::read_buffer, file_in_zip_read_info_s::rest_read_compressed, file_in_zip_read_info_s::rest_read_uncompressed, file_in_zip_read_info_s::stream, uLong(), UNZ_BUFSIZE, UNZ_END_OF_LIST_OF_FILE, UNZ_EOF, UNZ_ERRNO, UNZ_OK, UNZ_PARAMERROR, file_in_zip_read_info_s::z_filefunc, ZLIB_FILEFUNC_SEEK_SET, ZREAD, and ZSEEK.
Referenced by FS_Read().
int ZEXPORT unzSetCurrentFileInfoPosition | ( | unzFile | file, | |
unsigned long | pos | |||
) |
Definition at line 1609 of file unzip.c.
References unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::current_file_ok, unz_s::pos_in_central_dir, UNZ_OK, UNZ_PARAMERROR, and unzlocal_GetCurrentFileInfoInternal().
Referenced by FS_Seek().
int ZEXPORT unzSetOffset | ( | unzFile | file, | |
uLong | pos | |||
) |
Definition at line 1584 of file unzip.c.
References unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::current_file_ok, unz_s::gi, unz_s::num_file, unz_global_info_s::number_entry, unz_s::pos_in_central_dir, UNZ_OK, UNZ_PARAMERROR, and unzlocal_GetCurrentFileInfoInternal().
int ZEXPORT unzStringFileNameCompare | ( | char* | fileName1, | |
const char* | fileName2, | |||
int | iCaseSensitivity | |||
) | const |
Definition at line 303 of file unzip.c.
References CASESENSITIVITYDEFAULTVALUE, and STRCMPCASENOSENTIVEFUNCTION.
Referenced by unzLocateFile().
z_off_t ZEXPORT unztell | ( | unzFile | file | ) |
Definition at line 1390 of file unzip.c.
References unz_s::pfile_in_zip_read, file_in_zip_read_info_s::stream, and UNZ_PARAMERROR.
const char unz_copyright[] |
" unzip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll"
Definition at line 88 of file unzip.c.
Referenced by unzOpen2().