ReactOS 0.4.16-dev-1-gcf26321
|
#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) (malloc(size)) |
#define | TRYFREE(p) { free(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 |
Variables | |
const char | unz_copyright [] |
#define STRCMPCASENOSENTIVEFUNCTION strcmpcasenosensitive_internal |
ZPOS64_T unz64local_SearchCentralDir OF | ( | (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream) | ) |
int unz64local_getByte OF | ( | (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, int *pi) | ) |
int unz64local_getShort OF | ( | (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, uLong *pX) | ) |
int unz64local_getLong64 OF | ( | (const zlib_filefunc64_32_def *pzlib_filefunc_def, voidpf filestream, ZPOS64_T *pX) | ) |
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 351 of file unzip.c.
int unz64local_CheckCurrentFileCoherencyHeader | ( | unz64_s * | s, |
uInt * | piSizeVar, | ||
ZPOS64_T * | poffset_local_extrafield, | ||
uInt * | psize_local_extrafield | ||
) |
Definition at line 1390 of file unzip.c.
Referenced by unzOpenCurrentFile3().
Definition at line 857 of file unzip.c.
Referenced by unz64local_GetCurrentFileInfoInternal().
int unz64local_getByte | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream, | ||
int * | pi | ||
) |
Definition at line 214 of file unzip.c.
Referenced by unz64local_getLong(), unz64local_getLong64(), and unz64local_getShort().
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 884 of file unzip.c.
Referenced by unzGetCurrentFileInfo(), unzGetCurrentFileInfo64(), unzGoToFilePos64(), unzGoToFirstFile(), unzGoToNextFile(), and unzSetOffset64().
int unz64local_getLong | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream, | ||
uLong * | pX | ||
) |
Definition at line 268 of file unzip.c.
Referenced by unz64local_CheckCurrentFileCoherencyHeader(), unz64local_GetCurrentFileInfoInternal(), unz64local_SearchCentralDir64(), and unzOpenInternal().
int unz64local_getLong64 | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream, | ||
ZPOS64_T * | pX | ||
) |
Definition at line 304 of file unzip.c.
Referenced by unz64local_GetCurrentFileInfoInternal(), unz64local_SearchCentralDir64(), and unzOpenInternal().
int unz64local_getShort | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream, | ||
uLong * | pX | ||
) |
Definition at line 241 of file unzip.c.
Referenced by unz64local_CheckCurrentFileCoherencyHeader(), unz64local_GetCurrentFileInfoInternal(), and unzOpenInternal().
ZPOS64_T unz64local_SearchCentralDir | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream | ||
) |
Definition at line 415 of file unzip.c.
Referenced by unzOpenInternal().
ZPOS64_T unz64local_SearchCentralDir64 | ( | const zlib_filefunc64_32_def * | pzlib_filefunc_def, |
voidpf | filestream | ||
) |
Definition at line 480 of file unzip.c.
Referenced by unzOpenInternal().
Definition at line 813 of file unzip.c.
Referenced by CZipExtract::Close(), CZipFolder::Close(), and ExtractFilesFromZip().
Definition at line 2014 of file unzip.c.
Referenced by ExtractFilesFromZip(), CZipExtract::ExtractSingle(), unzClose(), and unzOpenCurrentFile3().
Definition at line 1934 of file unzip.c.
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 1141 of file unzip.c.
int ZEXPORT unzGetCurrentFileInfo64 | ( | unzFile | file, |
unz_file_info64 * | pfile_info, | ||
char * | szFileName, | ||
uLong | fileNameBufferSize, | ||
void * | extraField, | ||
uLong | extraFieldBufferSize, | ||
char * | szComment, | ||
uLong | commentBufferSize | ||
) |
Definition at line 1129 of file unzip.c.
Referenced by ExtractFilesFromZip(), CZipEnumerator::next(), and unzLocateFile().
Addition for GDAL : START
Definition at line 1665 of file unzip.c.
int ZEXPORT unzGetFilePos | ( | unzFile | file, |
unz_file_pos * | file_pos | ||
) |
Definition at line 1329 of file unzip.c.
int ZEXPORT unzGetFilePos64 | ( | unzFile | file, |
unz64_file_pos * | file_pos | ||
) |
int ZEXPORT unzGetGlobalInfo | ( | unzFile | file, |
unz_global_info * | pglobal_info32 | ||
) |
int ZEXPORT unzGetGlobalInfo64 | ( | unzFile | file, |
unz_global_info64 * | pglobal_info | ||
) |
Definition at line 1966 of file unzip.c.
Definition at line 2089 of file unzip.c.
Referenced by unzGetOffset().
int ZEXPORT unzGoToFilePos | ( | unzFile | file, |
unz_file_pos * | file_pos | ||
) |
Definition at line 1365 of file unzip.c.
int ZEXPORT unzGoToFilePos64 | ( | unzFile | file, |
const unz64_file_pos * | file_pos | ||
) |
Definition at line 1343 of file unzip.c.
Referenced by unzGoToFilePos().
Definition at line 1183 of file unzip.c.
Referenced by ExtractFilesFromZip(), CZipEnumerator::reset(), unzLocateFile(), and unzOpenInternal().
Definition at line 1204 of file unzip.c.
Referenced by ExtractFilesFromZip(), CZipEnumerator::next(), and unzLocateFile().
Definition at line 1237 of file unzip.c.
Definition at line 798 of file unzip.c.
unzFile ZEXPORT unzOpen2 | ( | const char * | path, |
zlib_filefunc_def * | pzlib_filefunc32_def | ||
) |
Definition at line 769 of file unzip.c.
unzFile ZEXPORT unzOpen2_64 | ( | const void * | path, |
zlib_filefunc64_def * | pzlib_filefunc_def | ||
) |
Definition at line 783 of file unzip.c.
Referenced by CZipExtract::Extract(), ExtractFilesFromZip(), and CZipFolder::STDMETHODIMP_().
Definition at line 1648 of file unzip.c.
Referenced by ExtractFilesFromZip(), and CZipExtract::ExtractSingle().
int ZEXPORT unzOpenCurrentFile3 | ( | unzFile | file, |
int * | method, | ||
int * | level, | ||
int | raw, | ||
const char * | password | ||
) |
Definition at line 1477 of file unzip.c.
Referenced by unzOpenCurrentFile(), unzOpenCurrentFile2(), and unzOpenCurrentFilePassword().
Definition at line 1653 of file unzip.c.
Referenced by CZipExtract::ExtractSingle().
unzFile unzOpenInternal | ( | const void * | path, |
zlib_filefunc64_32_def * | pzlib_filefunc64_32_def, | ||
int | is64bitOpenFunction | ||
) |
Definition at line 586 of file unzip.c.
Referenced by unzOpen(), unzOpen2(), unzOpen2_64(), and unzOpen64().
Addition for GDAL : END
Definition at line 1691 of file unzip.c.
Referenced by ExtractFilesFromZip(), and CZipExtract::ExtractSingle().
Definition at line 2114 of file unzip.c.
Referenced by unzSetOffset().
int ZEXPORT unzStringFileNameCompare | ( | const char * | fileName1, |
const char * | fileName2, | ||
int | iCaseSensitivity | ||
) |
Definition at line 392 of file unzip.c.
Referenced by unzLocateFile().
Definition at line 1899 of file unzip.c.
Definition at line 1914 of file unzip.c.
Definition at line 124 of file unzip.c.
Referenced by unzOpenInternal().