Include dependency graph for unzip.c:

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) {free(p);} |
| #define | SIZECENTRALDIRITEM (0x2e) |
| #define | SIZEZIPLOCALHEADER (0x1e) |
| #define | CASESENSITIVITYDEFAULTVALUE 2 |
| #define | STRCMPCASENOSENTIVEFUNCTION strcmpcasenosensitive_internal |
| #define | BUFREADCOMMENT (0x400) |
Typedefs | |
| typedef unz_file_info_internal_s | unz_file_info_internal |
Functions | |
| static int unzlocal_getByte | OF ((const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, int *pi)) |
| static int | unzlocal_getByte (zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, int *pi) const |
| static int unzlocal_getShort | OF ((const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX)) |
| static int | unzlocal_getShort (zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX) const |
| static int | unzlocal_getLong (zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX) const |
| static int | strcmpcasenosensitive_internal (char *fileName1, const char *fileName2) const |
| int ZEXPORT | unzStringFileNameCompare (char *fileName1, const char *fileName2, int iCaseSensitivity) const |
| static uLong unzlocal_SearchCentralDir | OF ((const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream)) |
| static 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) |
| static void | unzlocal_DosDateToTmuDate (uLong ulDosDate, tm_unz *ptm) |
| static 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)) |
| static 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) |
| static 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) |
Variables | |
| const char | unz_copyright [] |
| #define BUFREADCOMMENT (0x400) |
| #define CASESENSITIVITYDEFAULT_NO |
| #define CASESENSITIVITYDEFAULTVALUE 2 |
| #define local static |
| #define SIZECENTRALDIRITEM (0x2e) |
| #define SIZEZIPLOCALHEADER (0x1e) |
| #define STRCMPCASENOSENTIVEFUNCTION strcmpcasenosensitive_internal |
| #define TRYFREE | ( | p | ) | {free(p);} |
| #define UNZ_BUFSIZE (16384) |
| #define UNZ_MAXFILENAMEINZIP (256) |
| typedef struct unz_file_info_internal_s unz_file_info_internal |
| static 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) | ) | [static] |
| static uLong unzlocal_SearchCentralDir OF | ( | (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream) | ) | [static] |
| static int unzlocal_getShort OF | ( | (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX) | ) | [static] |
| static int unzlocal_getByte OF | ( | (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, int *pi) | ) | [static] |
| static int strcmpcasenosensitive_internal | ( | char* | fileName1, | |
| const char* | fileName2 | |||
| ) | const [static] |
| int ZEXPORT unzClose | ( | unzFile | file | ) |
| int ZEXPORT unzCloseCurrentFile | ( | unzFile | file | ) |
| int ZEXPORT unzeof | ( | 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 unzGetFilePos | ( | unzFile | file, | |
| unz_file_pos* | file_pos | |||
| ) |
| int ZEXPORT unzGetGlobalComment | ( | unzFile | file, | |
| char * | szComment, | |||
| uLong | uSizeBuf | |||
| ) |
| int ZEXPORT unzGetGlobalInfo | ( | unzFile | file, | |
| unz_global_info * | pglobal_info | |||
| ) |
| int ZEXPORT unzGetLocalExtrafield | ( | unzFile | file, | |
| voidp | buf, | |||
| unsigned | len | |||
| ) |
| uLong ZEXPORT unzGetOffset | ( | unzFile | file | ) |
| int ZEXPORT unzGoToFilePos | ( | unzFile | file, | |
| unz_file_pos* | file_pos | |||
| ) |
| int ZEXPORT unzGoToFirstFile | ( | unzFile | file | ) |
| int ZEXPORT unzGoToNextFile | ( | unzFile | file | ) |
| static int unzlocal_CheckCurrentFileCoherencyHeader | ( | unz_s* | s, | |
| uInt* | piSizeVar, | |||
| uLong * | poffset_local_extrafield, | |||
| uInt * | psize_local_extrafield | |||
| ) | [static] |
| static void unzlocal_DosDateToTmuDate | ( | uLong | ulDosDate, | |
| tm_unz* | ptm | |||
| ) | [static] |
| static int unzlocal_getByte | ( | zlib_filefunc_def* | pzlib_filefunc_def, | |
| voidpf | filestream, | |||
| int * | pi | |||
| ) | const [static] |
| static 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 | |||
| ) | [static] |
| static int unzlocal_getLong | ( | zlib_filefunc_def* | pzlib_filefunc_def, | |
| voidpf | filestream, | |||
| uLong * | pX | |||
| ) | const [static] |
| static int unzlocal_getShort | ( | zlib_filefunc_def* | pzlib_filefunc_def, | |
| voidpf | filestream, | |||
| uLong * | pX | |||
| ) | const [static] |
| static uLong unzlocal_SearchCentralDir | ( | zlib_filefunc_def* | pzlib_filefunc_def, | |
| voidpf | filestream | |||
| ) | const [static] |
| int ZEXPORT unzLocateFile | ( | unzFile | file, | |
| const char * | szFileName, | |||
| int | iCaseSensitivity | |||
| ) |
| unzFile ZEXPORT unzOpen | ( | char * | path | ) | const |
| unzFile ZEXPORT unzOpen2 | ( | char * | path, | |
| zlib_filefunc_def* | pzlib_filefunc_def | |||
| ) | const |
| int ZEXPORT unzOpenCurrentFile | ( | 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 unzOpenCurrentFilePassword | ( | unzFile | file, | |
| const char* | password | |||
| ) |
| int ZEXPORT unzReadCurrentFile | ( | unzFile | file, | |
| voidp | buf, | |||
| unsigned | len | |||
| ) |
| int ZEXPORT unzSetOffset | ( | unzFile | file, | |
| uLong | pos | |||
| ) |
| int ZEXPORT unzStringFileNameCompare | ( | char* | fileName1, | |
| const char* | fileName2, | |||
| int | iCaseSensitivity | |||
| ) | const |
| z_off_t ZEXPORT unztell | ( | unzFile | file | ) |
| const char unz_copyright[] |
Initial value:
" unzip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll"
1.5.1