sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
unzip.h File Reference
#include "zlib.h"
#include "ioapi.h"

Go to the source code of this file.

Classes

struct  tm_unz_s
struct  unz_global_info64_s
struct  unz_global_info_s
struct  unz_file_info64_s
struct  unz_file_info_s
struct  unz_file_pos_s
struct  unz64_file_pos_s

Macros

#define Z_BZIP2ED   12
#define UNZ_OK   (0)
#define UNZ_END_OF_LIST_OF_FILE   (-100)
#define UNZ_ERRNO   (Z_ERRNO)
#define UNZ_EOF   (0)
#define UNZ_PARAMERROR   (-102)
#define UNZ_BADZIPFILE   (-103)
#define UNZ_INTERNALERROR   (-104)
#define UNZ_CRCERROR   (-105)

Typedefs

typedef voidp unzFile
typedef struct tm_unz_s tm_unz
typedef struct unz_global_info64_s unz_global_info64
typedef struct unz_global_info_s unz_global_info
typedef struct unz_file_info64_s unz_file_info64
typedef struct unz_file_info_s unz_file_info
typedef struct unz_file_pos_s unz_file_pos
typedef struct unz64_file_pos_s unz64_file_pos

Functions

int ZEXPORT unzStringFileNameCompare (const char *fileName1, const char *fileName2, int iCaseSensitivity)
unzFile ZEXPORT unzOpen (const char *path)
unzFile ZEXPORT unzOpen64 (const void *path)
unzFile ZEXPORT unzOpen2 (const char *path, zlib_filefunc_def *pzlib_filefunc_def)
unzFile ZEXPORT unzOpen2_64 (const void *path, zlib_filefunc64_def *pzlib_filefunc_def)
int ZEXPORT unzClose (unzFile file)
int ZEXPORT unzGetGlobalInfo (unzFile file, unz_global_info *pglobal_info)
int ZEXPORT unzGetGlobalInfo64 (unzFile file, unz_global_info64 *pglobal_info)
int ZEXPORT unzGetGlobalComment (unzFile file, char *szComment, uLong uSizeBuf)
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)
int ZEXPORT unzGetFilePos64 (unzFile file, unz64_file_pos *file_pos)
int ZEXPORT unzGoToFilePos64 (unzFile file, const unz64_file_pos *file_pos)
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)
ZPOS64_T ZEXPORT unzGetCurrentFileZStreamPos64 (unzFile file)
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 unzOpenCurrentFile3 (unzFile file, int *method, int *level, int raw, const char *password)
int ZEXPORT unzCloseCurrentFile (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)
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)

Macro Definition Documentation

◆ UNZ_BADZIPFILE

#define UNZ_BADZIPFILE   (-103)

Definition at line 83 of file unzip.h.

◆ UNZ_CRCERROR

#define UNZ_CRCERROR   (-105)

Definition at line 85 of file unzip.h.

◆ UNZ_END_OF_LIST_OF_FILE

#define UNZ_END_OF_LIST_OF_FILE   (-100)

Definition at line 79 of file unzip.h.

◆ UNZ_EOF

#define UNZ_EOF   (0)

Definition at line 81 of file unzip.h.

◆ UNZ_ERRNO

#define UNZ_ERRNO   (Z_ERRNO)

Definition at line 80 of file unzip.h.

◆ UNZ_INTERNALERROR

#define UNZ_INTERNALERROR   (-104)

Definition at line 84 of file unzip.h.

◆ UNZ_OK

#define UNZ_OK   (0)

Definition at line 78 of file unzip.h.

◆ UNZ_PARAMERROR

#define UNZ_PARAMERROR   (-102)

Definition at line 82 of file unzip.h.

◆ Z_BZIP2ED

#define Z_BZIP2ED   12

Definition at line 66 of file unzip.h.

Typedef Documentation

◆ unzFile

typedef voidp unzFile

Definition at line 74 of file unzip.h.

Function Documentation

◆ unzClose()

int ZEXPORT unzClose ( unzFile file)
extern

Definition at line 711 of file unzip.c.

◆ unzCloseCurrentFile()

int ZEXPORT unzCloseCurrentFile ( unzFile file)
extern

Definition at line 1870 of file unzip.c.

◆ unzeof()

int ZEXPORT unzeof ( unzFile file)
extern

Definition at line 1792 of file unzip.c.

◆ unzGetCurrentFileInfo()

int ZEXPORT unzGetCurrentFileInfo ( unzFile file,
unz_file_info * pfile_info,
char * szFileName,
uLong fileNameBufferSize,
void * extraField,
uLong extraFieldBufferSize,
char * szComment,
uLong commentBufferSize )
extern

Definition at line 1020 of file unzip.c.

◆ unzGetCurrentFileInfo64()

int ZEXPORT unzGetCurrentFileInfo64 ( unzFile file,
unz_file_info64 * pfile_info,
char * szFileName,
uLong fileNameBufferSize,
void * extraField,
uLong extraFieldBufferSize,
char * szComment,
uLong commentBufferSize )
extern

Definition at line 1009 of file unzip.c.

◆ unzGetCurrentFileZStreamPos64()

ZPOS64_T ZEXPORT unzGetCurrentFileZStreamPos64 ( unzFile file)
extern

Addition for GDAL : START

Definition at line 1527 of file unzip.c.

◆ unzGetFilePos()

int ZEXPORT unzGetFilePos ( unzFile file,
unz_file_pos * file_pos )
extern

Definition at line 1203 of file unzip.c.

◆ unzGetFilePos64()

int ZEXPORT unzGetFilePos64 ( unzFile file,
unz64_file_pos * file_pos )
extern

Definition at line 1188 of file unzip.c.

◆ unzGetGlobalComment()

int ZEXPORT unzGetGlobalComment ( unzFile file,
char * szComment,
uLong uSizeBuf )
extern

Definition at line 1916 of file unzip.c.

◆ unzGetGlobalInfo()

int ZEXPORT unzGetGlobalInfo ( unzFile file,
unz_global_info * pglobal_info )
extern

Definition at line 739 of file unzip.c.

◆ unzGetGlobalInfo64()

int ZEXPORT unzGetGlobalInfo64 ( unzFile file,
unz_global_info64 * pglobal_info )
extern

Definition at line 730 of file unzip.c.

◆ unzGetLocalExtrafield()

int ZEXPORT unzGetLocalExtrafield ( unzFile file,
voidp buf,
unsigned len )
extern

Definition at line 1823 of file unzip.c.

◆ unzGetOffset()

uLong ZEXPORT unzGetOffset ( unzFile file)
extern

Definition at line 1957 of file unzip.c.

◆ unzGetOffset64()

ZPOS64_T ZEXPORT unzGetOffset64 ( unzFile file)
extern

Definition at line 1943 of file unzip.c.

◆ unzGoToFilePos()

int ZEXPORT unzGoToFilePos ( unzFile file,
unz_file_pos * file_pos )
extern

Definition at line 1235 of file unzip.c.

◆ unzGoToFilePos64()

int ZEXPORT unzGoToFilePos64 ( unzFile file,
const unz64_file_pos * file_pos )
extern

Definition at line 1214 of file unzip.c.

◆ unzGoToFirstFile()

int ZEXPORT unzGoToFirstFile ( unzFile file)
extern

Definition at line 1061 of file unzip.c.

◆ unzGoToNextFile()

int ZEXPORT unzGoToNextFile ( unzFile file)
extern

Definition at line 1081 of file unzip.c.

◆ unzLocateFile()

int ZEXPORT unzLocateFile ( unzFile file,
const char * szFileName,
int iCaseSensitivity )
extern

Definition at line 1113 of file unzip.c.

◆ unzOpen()

unzFile ZEXPORT unzOpen ( const char * path)
extern

Definition at line 698 of file unzip.c.

◆ unzOpen2()

unzFile ZEXPORT unzOpen2 ( const char * path,
zlib_filefunc_def * pzlib_filefunc_def )
extern

Definition at line 672 of file unzip.c.

◆ unzOpen2_64()

unzFile ZEXPORT unzOpen2_64 ( const void * path,
zlib_filefunc64_def * pzlib_filefunc_def )
extern

Definition at line 684 of file unzip.c.

◆ unzOpen64()

unzFile ZEXPORT unzOpen64 ( const void * path)
extern

Definition at line 702 of file unzip.c.

◆ unzOpenCurrentFile()

int ZEXPORT unzOpenCurrentFile ( unzFile file)
extern

Addition for GDAL : END

Definition at line 1513 of file unzip.c.

◆ unzOpenCurrentFile2()

int ZEXPORT unzOpenCurrentFile2 ( unzFile file,
int * method,
int * level,
int raw )
extern

Definition at line 1521 of file unzip.c.

◆ unzOpenCurrentFile3()

int ZEXPORT unzOpenCurrentFile3 ( unzFile file,
int * method,
int * level,
int raw,
const char * password )
extern

Definition at line 1343 of file unzip.c.

◆ unzOpenCurrentFilePassword()

int ZEXPORT unzOpenCurrentFilePassword ( unzFile file,
const char * password )
extern

Definition at line 1517 of file unzip.c.

◆ unzReadCurrentFile()

int ZEXPORT unzReadCurrentFile ( unzFile file,
voidp buf,
unsigned len )
extern

Addition for GDAL : END

Definition at line 1552 of file unzip.c.

◆ unzSetOffset()

int ZEXPORT unzSetOffset ( unzFile file,
uLong pos )
extern

Definition at line 1983 of file unzip.c.

◆ unzSetOffset64()

int ZEXPORT unzSetOffset64 ( unzFile file,
ZPOS64_T pos )
extern

Definition at line 1966 of file unzip.c.

◆ unzStringFileNameCompare()

int ZEXPORT unzStringFileNameCompare ( const char * fileName1,
const char * fileName2,
int iCaseSensitivity )
extern

Definition at line 303 of file unzip.c.

◆ unztell()

z_off_t ZEXPORT unztell ( unzFile file)
extern

Definition at line 1759 of file unzip.c.

◆ unztell64()

ZPOS64_T ZEXPORT unztell64 ( unzFile file)
extern

Definition at line 1773 of file unzip.c.