Oolite 1.91.0.7645-241119-222d325
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "zlib.h"
#include "unzip.h"
#include <errno.h>
Go to the source code of this file.
Classes | |
struct | unz_file_info64_internal_s |
struct | file_in_zip64_read_info_s |
struct | unz64_s |
Macros | |
#define | NOUNCRYPT |
#define | local static |
#define | CASESENSITIVITYDEFAULT_NO |
#define | UNZ_BUFSIZE (16384) |
#define | UNZ_MAXFILENAMEINZIP (256) |
#define | ALLOC(size) |
#define | TRYFREE(p) |
#define | SIZECENTRALDIRITEM (0x2e) |
#define | SIZEZIPLOCALHEADER (0x1e) |
#define | CASESENSITIVITYDEFAULTVALUE 2 |
#define | STRCMPCASENOSENTIVEFUNCTION strcmpcasenosensitive_internal |
#define | BUFREADCOMMENT (0x400) |
Typedefs | |
typedef struct unz_file_info64_internal_s | unz_file_info64_internal |
Functions | |
local int unz64local_getByte | OF ((const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, int *pi)) |
local int | unz64local_getByte (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, int *pi) |
local int unz64local_getShort | OF ((const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, uLong *pX)) |
local int | unz64local_getShort (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, uLong *pX) |
local int | unz64local_getLong (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, uLong *pX) |
local int unz64local_getLong64 | OF ((const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, ZPOS64_T *pX)) |
local int | unz64local_getLong64 (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, ZPOS64_T *pX) |
local int | strcmpcasenosensitive_internal (const char *fileName1, const char *fileName2) |
int ZEXPORT | unzStringFileNameCompare (const char *fileName1, const char *fileName2, int iCaseSensitivity) |
local ZPOS64_T unz64local_SearchCentralDir | OF ((const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream)) |
local ZPOS64_T | unz64local_SearchCentralDir (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream) |
local ZPOS64_T | unz64local_SearchCentralDir64 (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream) |
local unzFile | unzOpenInternal (const void *path, zlib_filefunc64_32_def *pzlib_filefunc64_32_def, int is64bitOpenFunction) |
unzFile ZEXPORT | unzOpen2 (const char *path, zlib_filefunc_def *pzlib_filefunc32_def) |
unzFile ZEXPORT | unzOpen2_64 (const void *path, zlib_filefunc64_def *pzlib_filefunc_def) |
unzFile ZEXPORT | unzOpen (const char *path) |
unzFile ZEXPORT | unzOpen64 (const void *path) |
int ZEXPORT | unzClose (unzFile file) |
int ZEXPORT | unzGetGlobalInfo64 (unzFile file, unz_global_info64 *pglobal_info) |
int ZEXPORT | unzGetGlobalInfo (unzFile file, unz_global_info *pglobal_info32) |
local void | unz64local_DosDateToTmuDate (ZPOS64_T ulDosDate, tm_unz *ptm) |
local int unz64local_GetCurrentFileInfoInternal | OF ((unzFile file, unz_file_info64 *pfile_info, unz_file_info64_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)) |
local int | unz64local_GetCurrentFileInfoInternal (unzFile file, unz_file_info64 *pfile_info, unz_file_info64_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) |
int ZEXPORT | unzGetCurrentFileInfo64 (unzFile file, unz_file_info64 *pfile_info, 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 | unzGetFilePos64 (unzFile file, unz64_file_pos *file_pos) |
int ZEXPORT | unzGetFilePos (unzFile file, unz_file_pos *file_pos) |
int ZEXPORT | unzGoToFilePos64 (unzFile file, const unz64_file_pos *file_pos) |
int ZEXPORT | unzGoToFilePos (unzFile file, unz_file_pos *file_pos) |
local int | unz64local_CheckCurrentFileCoherencyHeader (unz64_s *s, uInt *piSizeVar, ZPOS64_T *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) |
ZPOS64_T ZEXPORT | unzGetCurrentFileZStreamPos64 (unzFile file) |
int ZEXPORT | unzReadCurrentFile (unzFile file, voidp buf, unsigned len) |
z_off_t ZEXPORT | unztell (unzFile file) |
ZPOS64_T ZEXPORT | unztell64 (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) |
ZPOS64_T ZEXPORT | unzGetOffset64 (unzFile file) |
uLong ZEXPORT | unzGetOffset (unzFile file) |
int ZEXPORT | unzSetOffset64 (unzFile file, ZPOS64_T pos) |
int ZEXPORT | unzSetOffset (unzFile file, uLong pos) |
Variables | |
static const char | unz_copyright [] |
#define ALLOC | ( | size | ) |
Definition at line 112 of file unzip.c.
Referenced by unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), unzOpenCurrentFile3(), and unzOpenInternal().
#define BUFREADCOMMENT (0x400) |
Definition at line 408 of file unzip.c.
Referenced by unz64local_SearchCentralDir(), and unz64local_SearchCentralDir64().
#define CASESENSITIVITYDEFAULTVALUE 2 |
Definition at line 375 of file unzip.c.
Referenced by unzStringFileNameCompare().
#define SIZECENTRALDIRITEM (0x2e) |
Definition at line 118 of file unzip.c.
Referenced by unzGoToNextFile().
#define SIZEZIPLOCALHEADER (0x1e) |
Definition at line 119 of file unzip.c.
Referenced by unz64local_CheckCurrentFileCoherencyHeader(), and unzOpenCurrentFile3().
#define STRCMPCASENOSENTIVEFUNCTION strcmpcasenosensitive_internal |
Definition at line 381 of file unzip.c.
Referenced by unzStringFileNameCompare().
#define TRYFREE | ( | p | ) |
Definition at line 115 of file unzip.c.
Referenced by unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), unzClose(), unzCloseCurrentFile(), and unzOpenCurrentFile3().
#define UNZ_BUFSIZE (16384) |
Definition at line 104 of file unzip.c.
Referenced by unzOpenCurrentFile3(), and unzReadCurrentFile().
#define UNZ_MAXFILENAMEINZIP (256) |
Definition at line 108 of file unzip.c.
Referenced by unzLocateFile().
typedef struct unz_file_info64_internal_s unz_file_info64_internal |
local ZPOS64_T unz64local_SearchCentralDir64 OF | ( | (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream) | ) |
local int unz64local_getByte OF | ( | (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, int *pi) | ) |
local int unz64local_getLong OF | ( | (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, uLong *pX) | ) |
local int unz64local_getLong64 OF | ( | (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, ZPOS64_T *pX) | ) |
local int unz64local_GetCurrentFileInfoInternal OF | ( | (unzFile file, unz_file_info64 *pfile_info, unz_file_info64_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) | ) |
Definition at line 352 of file unzip.c.
local int unz64local_CheckCurrentFileCoherencyHeader | ( | unz64_s * | s, |
uInt * | piSizeVar, | ||
ZPOS64_T * | poffset_local_extrafield, | ||
uInt * | psize_local_extrafield ) |
Definition at line 1391 of file unzip.c.
References unz64_s::byte_before_the_zipfile, unz_file_info64_s::compressed_size, unz_file_info64_s::compression_method, unz_file_info64_s::crc, unz64_s::cur_file_info, unz64_s::cur_file_info_internal, unz64_s::filestream, unz_file_info64_internal_s::offset_curfile, unz_file_info64_s::size_filename, SIZEZIPLOCALHEADER, unz_file_info64_s::uncompressed_size, unz64local_getLong(), unz64local_getShort(), UNZ_BADZIPFILE, UNZ_ERRNO, UNZ_OK, Z_BZIP2ED, Z_DEFLATED, unz64_s::z_filefunc, ZLIB_FILEFUNC_SEEK_SET, and ZSEEK64.
Referenced by unzOpenCurrentFile3().
Definition at line 855 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, and tm_unz_s::tm_year.
Referenced by unz64local_GetCurrentFileInfoInternal().
local int unz64local_getByte | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream, | ||
int * | pi ) |
Definition at line 215 of file unzip.c.
References int(), UNZ_EOF, UNZ_ERRNO, UNZ_OK, ZERROR64, and ZREAD64.
Referenced by unz64local_getLong(), unz64local_getLong64(), and unz64local_getShort().
local int unz64local_GetCurrentFileInfoInternal | ( | unzFile | file, |
unz_file_info64 * | pfile_info, | ||
unz_file_info64_internal * | pfile_info_internal, | ||
char * | szFileName, | ||
uLong | fileNameBufferSize, | ||
void * | extraField, | ||
uLong | extraFieldBufferSize, | ||
char * | szComment, | ||
uLong | commentBufferSize ) |
Definition at line 882 of file unzip.c.
References unz64_s::byte_before_the_zipfile, unz_file_info64_s::compressed_size, unz_file_info64_s::compression_method, unz_file_info64_s::crc, unz_file_info64_s::disk_num_start, unz_file_info64_s::dosDate, unz_file_info64_s::external_fa, unz64_s::filestream, unz_file_info64_s::flag, unz_file_info64_s::internal_fa, unz_file_info64_internal_s::offset_curfile, unz64_s::pos_in_central_dir, unz_file_info64_s::size_file_comment, unz_file_info64_s::size_file_extra, unz_file_info64_s::size_filename, unz_file_info64_s::tmu_date, unz_file_info64_s::uncompressed_size, unz64local_DosDateToTmuDate(), unz64local_getLong(), unz64local_getLong64(), unz64local_getShort(), UNZ_BADZIPFILE, UNZ_ERRNO, UNZ_OK, UNZ_PARAMERROR, unz_file_info64_s::version, unz_file_info64_s::version_needed, unz64_s::z_filefunc, ZLIB_FILEFUNC_SEEK_CUR, ZLIB_FILEFUNC_SEEK_SET, ZREAD64, and ZSEEK64.
Referenced by unzGetCurrentFileInfo(), unzGetCurrentFileInfo64(), unzGoToFilePos64(), unzGoToFirstFile(), unzGoToNextFile(), and unzSetOffset64().
local int unz64local_getLong | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream, | ||
uLong * | pX ) |
Definition at line 269 of file unzip.c.
References unz64local_getByte(), UNZ_OK, and x.
Referenced by unz64local_CheckCurrentFileCoherencyHeader(), unz64local_GetCurrentFileInfoInternal(), unz64local_SearchCentralDir64(), and unzOpenInternal().
local int unz64local_getLong64 | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream, | ||
ZPOS64_T * | pX ) |
Definition at line 305 of file unzip.c.
References unz64local_getByte(), UNZ_OK, and x.
Referenced by unz64local_GetCurrentFileInfoInternal(), unz64local_SearchCentralDir64(), and unzOpenInternal().
local int unz64local_getShort | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream, | ||
uLong * | pX ) |
Definition at line 242 of file unzip.c.
References unz64local_getByte(), UNZ_OK, and x.
Referenced by unz64local_CheckCurrentFileCoherencyHeader(), unz64local_GetCurrentFileInfoInternal(), and unzOpenInternal().
local ZPOS64_T unz64local_SearchCentralDir | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream ) |
Definition at line 416 of file unzip.c.
References ALLOC, BUFREADCOMMENT, TRYFREE, ZLIB_FILEFUNC_SEEK_END, ZLIB_FILEFUNC_SEEK_SET, ZREAD64, ZSEEK64, and ZTELL64.
Referenced by unzOpenInternal().
local ZPOS64_T unz64local_SearchCentralDir64 | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream ) |
Definition at line 481 of file unzip.c.
References ALLOC, BUFREADCOMMENT, TRYFREE, unz64local_getLong(), unz64local_getLong64(), UNZ_OK, ZLIB_FILEFUNC_SEEK_END, ZLIB_FILEFUNC_SEEK_SET, ZREAD64, ZSEEK64, and ZTELL64.
Referenced by unzOpenInternal().
Definition at line 811 of file unzip.c.
References unz64_s::filestream, unz64_s::pfile_in_zip_read, TRYFREE, UNZ_OK, UNZ_PARAMERROR, unzCloseCurrentFile(), unz64_s::z_filefunc, and ZCLOSE64.
Definition at line 2016 of file unzip.c.
References file_in_zip64_read_info_s::crc32, file_in_zip64_read_info_s::crc32_wait, inflateEnd, unz64_s::pfile_in_zip_read, file_in_zip64_read_info_s::raw, file_in_zip64_read_info_s::read_buffer, file_in_zip64_read_info_s::rest_read_uncompressed, file_in_zip64_read_info_s::stream, file_in_zip64_read_info_s::stream_initialised, TRYFREE, UNZ_CRCERROR, UNZ_OK, UNZ_PARAMERROR, Z_BZIP2ED, and Z_DEFLATED.
Referenced by unzClose(), and unzOpenCurrentFile3().
Definition at line 1936 of file unzip.c.
References unz64_s::pfile_in_zip_read, file_in_zip64_read_info_s::rest_read_uncompressed, and UNZ_PARAMERROR.
|
extern |
Definition at line 1142 of file unzip.c.
References unz_file_info64_s::compressed_size, unz_file_info_s::compressed_size, unz_file_info64_s::compression_method, unz_file_info_s::compression_method, unz_file_info64_s::crc, unz_file_info_s::crc, unz_file_info64_s::disk_num_start, unz_file_info_s::disk_num_start, unz_file_info64_s::dosDate, unz_file_info_s::dosDate, unz_file_info64_s::external_fa, unz_file_info_s::external_fa, unz_file_info64_s::flag, unz_file_info_s::flag, unz_file_info64_s::internal_fa, unz_file_info_s::internal_fa, unz_file_info64_s::size_file_comment, unz_file_info_s::size_file_comment, unz_file_info64_s::size_file_extra, unz_file_info_s::size_file_extra, unz_file_info64_s::size_filename, unz_file_info_s::size_filename, unz_file_info64_s::tmu_date, unz_file_info_s::tmu_date, unz_file_info64_s::uncompressed_size, unz_file_info_s::uncompressed_size, unz64local_GetCurrentFileInfoInternal(), UNZ_OK, unz_file_info64_s::version, unz_file_info_s::version, unz_file_info64_s::version_needed, and unz_file_info_s::version_needed.
|
extern |
Definition at line 1130 of file unzip.c.
References unz64local_GetCurrentFileInfoInternal().
Referenced by unzLocateFile().
Addition for GDAL : START
Definition at line 1670 of file unzip.c.
References file_in_zip64_read_info_s::byte_before_the_zipfile, unz64_s::pfile_in_zip_read, and file_in_zip64_read_info_s::pos_in_zipfile.
|
extern |
Definition at line 1330 of file unzip.c.
References unz64_file_pos_s::num_of_file, unz_file_pos_s::num_of_file, unz64_file_pos_s::pos_in_zip_directory, unz_file_pos_s::pos_in_zip_directory, UNZ_OK, and unzGetFilePos64().
|
extern |
Definition at line 1314 of file unzip.c.
References unz64_s::current_file_ok, unz64_s::num_file, unz64_file_pos_s::num_of_file, unz64_s::pos_in_central_dir, unz64_file_pos_s::pos_in_zip_directory, UNZ_END_OF_LIST_OF_FILE, UNZ_OK, and UNZ_PARAMERROR.
Referenced by unzGetFilePos().
Definition at line 2063 of file unzip.c.
References unz64_s::central_pos, unz64_s::filestream, unz64_s::gi, unz_global_info64_s::size_comment, UNZ_ERRNO, UNZ_PARAMERROR, unz64_s::z_filefunc, ZLIB_FILEFUNC_SEEK_SET, ZREAD64, and ZSEEK64.
|
extern |
Definition at line 841 of file unzip.c.
References unz64_s::gi, unz_global_info64_s::number_entry, unz_global_info_s::number_entry, unz_global_info64_s::size_comment, unz_global_info_s::size_comment, UNZ_OK, and UNZ_PARAMERROR.
|
extern |
Definition at line 831 of file unzip.c.
References unz64_s::gi, UNZ_OK, and UNZ_PARAMERROR.
Definition at line 1968 of file unzip.c.
References file_in_zip64_read_info_s::filestream, file_in_zip64_read_info_s::offset_local_extrafield, unz64_s::pfile_in_zip_read, file_in_zip64_read_info_s::pos_local_extrafield, file_in_zip64_read_info_s::size_local_extrafield, UNZ_ERRNO, UNZ_PARAMERROR, file_in_zip64_read_info_s::z_filefunc, ZLIB_FILEFUNC_SEEK_SET, ZREAD64, and ZSEEK64.
Definition at line 2106 of file unzip.c.
References unzGetOffset64().
Definition at line 2091 of file unzip.c.
References unz64_s::current_file_ok, unz64_s::gi, unz64_s::num_file, unz_global_info64_s::number_entry, and unz64_s::pos_in_central_dir.
Referenced by unzGetOffset().
|
extern |
Definition at line 1366 of file unzip.c.
References unz64_file_pos_s::num_of_file, unz_file_pos_s::num_of_file, unz64_file_pos_s::pos_in_zip_directory, unz_file_pos_s::pos_in_zip_directory, UNZ_PARAMERROR, and unzGoToFilePos64().
|
extern |
Definition at line 1344 of file unzip.c.
References unz64_s::cur_file_info, unz64_s::cur_file_info_internal, unz64_s::current_file_ok, unz64_s::num_file, unz64_file_pos_s::num_of_file, unz64_s::pos_in_central_dir, unz64_file_pos_s::pos_in_zip_directory, unz64local_GetCurrentFileInfoInternal(), UNZ_OK, and UNZ_PARAMERROR.
Referenced by unzGoToFilePos().
Definition at line 1184 of file unzip.c.
References unz64_s::cur_file_info, unz64_s::cur_file_info_internal, unz64_s::current_file_ok, unz64_s::num_file, unz64_s::offset_central_dir, unz64_s::pos_in_central_dir, unz64local_GetCurrentFileInfoInternal(), UNZ_OK, and UNZ_PARAMERROR.
Referenced by unzLocateFile(), and unzOpenInternal().
Definition at line 1205 of file unzip.c.
References unz64_s::cur_file_info, unz64_s::cur_file_info_internal, unz64_s::current_file_ok, unz64_s::gi, unz64_s::num_file, unz_global_info64_s::number_entry, unz64_s::pos_in_central_dir, unz_file_info64_s::size_file_comment, unz_file_info64_s::size_file_extra, unz_file_info64_s::size_filename, SIZECENTRALDIRITEM, unz64local_GetCurrentFileInfoInternal(), UNZ_END_OF_LIST_OF_FILE, UNZ_OK, and UNZ_PARAMERROR.
Referenced by unzLocateFile().
Definition at line 1238 of file unzip.c.
References unz64_s::cur_file_info, unz64_s::cur_file_info_internal, unz64_s::current_file_ok, unz64_s::num_file, unz64_s::pos_in_central_dir, UNZ_END_OF_LIST_OF_FILE, UNZ_MAXFILENAMEINZIP, UNZ_OK, UNZ_PARAMERROR, unzGetCurrentFileInfo64(), unzGoToFirstFile(), unzGoToNextFile(), and unzStringFileNameCompare().
|
extern |
Definition at line 796 of file unzip.c.
References unzOpenInternal().
|
extern |
Definition at line 768 of file unzip.c.
References fill_zlib_filefunc64_32_def_from_filefunc32(), and unzOpenInternal().
|
extern |
Definition at line 781 of file unzip.c.
References unzOpenInternal(), zlib_filefunc64_32_def_s::zfile_func64, zlib_filefunc64_32_def_s::zseek32_file, and zlib_filefunc64_32_def_s::ztell32_file.
|
extern |
Definition at line 801 of file unzip.c.
References unzOpenInternal().
Definition at line 1653 of file unzip.c.
References unzOpenCurrentFile3().
Definition at line 1663 of file unzip.c.
References unzOpenCurrentFile3().
|
extern |
Definition at line 1478 of file unzip.c.
References ALLOC, alloc_func, file_in_zip64_read_info_s::byte_before_the_zipfile, unz64_s::byte_before_the_zipfile, unz_file_info64_s::compressed_size, file_in_zip64_read_info_s::compression_method, unz_file_info64_s::compression_method, unz_file_info64_s::crc, file_in_zip64_read_info_s::crc32, file_in_zip64_read_info_s::crc32_wait, unz64_s::cur_file_info, unz64_s::cur_file_info_internal, unz64_s::current_file_ok, unz64_s::encrypted, file_in_zip64_read_info_s::filestream, unz64_s::filestream, unz_file_info64_s::flag, free_func, inflateInit2, int(), MAX_WBITS, unz_file_info64_internal_s::offset_curfile, file_in_zip64_read_info_s::offset_local_extrafield, unz64_s::pfile_in_zip_read, file_in_zip64_read_info_s::pos_in_zipfile, file_in_zip64_read_info_s::pos_local_extrafield, file_in_zip64_read_info_s::raw, file_in_zip64_read_info_s::read_buffer, file_in_zip64_read_info_s::rest_read_compressed, file_in_zip64_read_info_s::rest_read_uncompressed, file_in_zip64_read_info_s::size_local_extrafield, SIZEZIPLOCALHEADER, file_in_zip64_read_info_s::stream, file_in_zip64_read_info_s::stream_initialised, file_in_zip64_read_info_s::total_out_64, TRYFREE, unz_file_info64_s::uncompressed_size, unz64local_CheckCurrentFileCoherencyHeader(), UNZ_BADZIPFILE, UNZ_BUFSIZE, UNZ_INTERNALERROR, UNZ_OK, UNZ_PARAMERROR, unzCloseCurrentFile(), Z_BZIP2ED, Z_DEFLATED, file_in_zip64_read_info_s::z_filefunc, unz64_s::z_filefunc, Z_OK, ZREAD64, and ZSEEK64.
Referenced by unzOpenCurrentFile(), unzOpenCurrentFile2(), and unzOpenCurrentFilePassword().
Definition at line 1658 of file unzip.c.
References unzOpenCurrentFile3().
local unzFile unzOpenInternal | ( | const void * | path, |
zlib_filefunc64_32_def * | pzlib_filefunc64_32_def, | ||
int | is64bitOpenFunction ) |
Definition at line 587 of file unzip.c.
References ALLOC, unz64_s::byte_before_the_zipfile, unz64_s::central_pos, unz64_s::encrypted, unz64_s::filestream, fill_fopen64_filefunc(), unz64_s::gi, unz64_s::is64bitOpenFunction, unz64_s::isZip64, unz_global_info64_s::number_entry, unz64_s::offset_central_dir, unz64_s::pfile_in_zip_read, unz64_s::size_central_dir, unz_global_info64_s::size_comment, unz64local_getLong(), unz64local_getLong64(), unz64local_getShort(), unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), UNZ_BADZIPFILE, unz_copyright, UNZ_ERRNO, UNZ_OK, unzGoToFirstFile(), unz64_s::z_filefunc, ZCLOSE64, zlib_filefunc64_32_def_s::zfile_func64, ZLIB_FILEFUNC_MODE_EXISTING, ZLIB_FILEFUNC_MODE_READ, ZLIB_FILEFUNC_SEEK_SET, ZOPEN64, zlib_filefunc64_32_def_s::zseek32_file, ZSEEK64, and zlib_filefunc64_32_def_s::ztell32_file.
Referenced by unzOpen(), unzOpen2(), unzOpen2_64(), and unzOpen64().
Addition for GDAL : END
Definition at line 1696 of file unzip.c.
References file_in_zip64_read_info_s::byte_before_the_zipfile, file_in_zip64_read_info_s::compression_method, crc32, file_in_zip64_read_info_s::crc32, unz64_s::encrypted, file_in_zip64_read_info_s::filestream, inflate, unz64_s::pfile_in_zip_read, file_in_zip64_read_info_s::pos_in_zipfile, file_in_zip64_read_info_s::raw, file_in_zip64_read_info_s::read_buffer, file_in_zip64_read_info_s::rest_read_compressed, file_in_zip64_read_info_s::rest_read_uncompressed, file_in_zip64_read_info_s::stream, file_in_zip64_read_info_s::total_out_64, UNZ_BUFSIZE, UNZ_END_OF_LIST_OF_FILE, UNZ_EOF, UNZ_ERRNO, UNZ_OK, UNZ_PARAMERROR, Z_BZIP2ED, Z_DATA_ERROR, file_in_zip64_read_info_s::z_filefunc, Z_OK, Z_STREAM_END, Z_SYNC_FLUSH, ZLIB_FILEFUNC_SEEK_SET, ZREAD64, and ZSEEK64.
Referenced by OOReadOXZVorbis().
Definition at line 2134 of file unzip.c.
References unzSetOffset64().
Definition at line 2116 of file unzip.c.
References unz64_s::cur_file_info, unz64_s::cur_file_info_internal, unz64_s::current_file_ok, unz64_s::gi, unz64_s::num_file, unz_global_info64_s::number_entry, unz64_s::pos_in_central_dir, unz64local_GetCurrentFileInfoInternal(), UNZ_OK, and UNZ_PARAMERROR.
Referenced by unzSetOffset().
|
extern |
Definition at line 393 of file unzip.c.
References CASESENSITIVITYDEFAULTVALUE, and STRCMPCASENOSENTIVEFUNCTION.
Referenced by unzLocateFile().
|
extern |
Definition at line 1901 of file unzip.c.
References unz64_s::pfile_in_zip_read, file_in_zip64_read_info_s::stream, and UNZ_PARAMERROR.
Definition at line 1916 of file unzip.c.
References unz64_s::pfile_in_zip_read, and file_in_zip64_read_info_s::total_out_64.
|
static |
Definition at line 125 of file unzip.c.
Referenced by unzOpenInternal().