TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Classes | Macros | Typedefs | Functions
unzip.h File Reference
#include "zlib/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

ZEXTERN int ZEXPORT unzStringFileNameCompare OF ((const char *fileName1, const char *fileName2, int iCaseSensitivity))
 
ZEXTERN unzFile ZEXPORT unzOpen OF ((const char *path))
 
ZEXTERN unzFile ZEXPORT unzOpen64 OF ((const void *path))
 
ZEXTERN unzFile ZEXPORT unzOpen2 OF ((const char *path, zlib_filefunc_def *pzlib_filefunc_def))
 
ZEXTERN unzFile ZEXPORT unzOpen2_64 OF ((const void *path, zlib_filefunc64_def *pzlib_filefunc_def))
 
ZEXTERN int ZEXPORT unzClose OF ((unzFile file))
 Addition for GDAL : START. More...
 
ZEXTERN int ZEXPORT unzGetGlobalInfo OF ((unzFile file, unz_global_info *pglobal_info))
 
ZEXTERN int ZEXPORT unzGetGlobalInfo64 OF ((unzFile file, unz_global_info64 *pglobal_info))
 
ZEXTERN int ZEXPORT unzGetGlobalComment OF ((unzFile file, char *szComment, uLong uSizeBuf))
 
ZEXTERN int ZEXPORT unzLocateFile OF ((unzFile file, const char *szFileName, int iCaseSensitivity))
 
ZEXTERN int ZEXPORT unzGetFilePos (unzFile file, unz_file_pos *file_pos)
 
ZEXTERN int ZEXPORT unzGoToFilePos (unzFile file, unz_file_pos *file_pos)
 
ZEXTERN int ZEXPORT unzGetFilePos64 (unzFile file, unz64_file_pos *file_pos)
 
ZEXTERN int ZEXPORT unzGoToFilePos64 (unzFile file, const unz64_file_pos *file_pos)
 
ZEXTERN int ZEXPORT unzGetCurrentFileInfo64 OF ((unzFile file, unz_file_info64 *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize))
 
ZEXTERN int ZEXPORT unzGetCurrentFileInfo OF ((unzFile file, unz_file_info *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize))
 
ZEXTERN int ZEXPORT unzOpenCurrentFilePassword OF ((unzFile file, const char *password))
 
ZEXTERN int ZEXPORT unzOpenCurrentFile2 OF ((unzFile file, int *method, int *level, int raw))
 
ZEXTERN int ZEXPORT unzOpenCurrentFile3 OF ((unzFile file, int *method, int *level, int raw, const char *password))
 
ZEXTERN int ZEXPORT unzReadCurrentFile OF ((unzFile file, voidp buf, unsigned len))
 
ZEXTERN ZPOS64_T ZEXPORT unzGetOffset64 (unzFile file)
 
ZEXTERN uLong ZEXPORT unzGetOffset (unzFile file)
 
ZEXTERN int ZEXPORT unzSetOffset64 (unzFile file, ZPOS64_T pos)
 
ZEXTERN int ZEXPORT unzSetOffset (unzFile file, uLong pos)
 

Macro Definition Documentation

#define UNZ_BADZIPFILE   (-103)
#define UNZ_CRCERROR   (-105)

Definition at line 81 of file unzip.h.

Referenced by unzCloseCurrentFile().

#define UNZ_END_OF_LIST_OF_FILE   (-100)

Definition at line 75 of file unzip.h.

Referenced by unzGetFilePos64(), unzGoToNextFile(), unzLocateFile(), and unzReadCurrentFile().

#define UNZ_EOF   (0)

Definition at line 77 of file unzip.h.

Referenced by unz64local_getByte(), and unzReadCurrentFile().

#define UNZ_ERRNO   (Z_ERRNO)
#define UNZ_INTERNALERROR   (-104)

Definition at line 80 of file unzip.h.

Referenced by unzOpenCurrentFile3().

#define UNZ_OK   (0)
#define UNZ_PARAMERROR   (-102)
#define Z_BZIP2ED   12

Typedef Documentation

typedef struct tm_unz_s tm_unz
typedef struct unz_file_pos_s unz_file_pos
typedef voidp unzFile

Definition at line 70 of file unzip.h.

Function Documentation

ZEXTERN int ZEXPORT unzStringFileNameCompare OF ( (const char *fileName1, const char *fileName2, int iCaseSensitivity)  )
ZEXTERN unzFile ZEXPORT unzOpen OF ( (const char *path)  )
ZEXTERN unzFile ZEXPORT unzOpen64 OF ( (const void *path)  )
ZEXTERN unzFile ZEXPORT unzOpen2 OF ( (const char *path, zlib_filefunc_def *pzlib_filefunc_def)  )
ZEXTERN unzFile ZEXPORT unzOpen2_64 OF ( (const void *path, zlib_filefunc64_def *pzlib_filefunc_def)  )
ZEXTERN int ZEXPORT unzeof OF ( (unzFile file)  )

Addition for GDAL : START.

Addition for GDAL : END.

ZEXTERN int ZEXPORT unzGetGlobalInfo OF ( (unzFile file, unz_global_info *pglobal_info)  )
ZEXTERN int ZEXPORT unzGetGlobalComment OF ( (unzFile file, char *szComment, uLong uSizeBuf)  )
ZEXTERN int ZEXPORT unzLocateFile OF ( (unzFile file, const char *szFileName, int iCaseSensitivity)  )
ZEXTERN int ZEXPORT unzGetCurrentFileInfo64 OF ( (unzFile file, unz_file_info64 *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)  )
ZEXTERN int ZEXPORT unzGetCurrentFileInfo OF ( (unzFile file, unz_file_info *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)  )
ZEXTERN int ZEXPORT unzOpenCurrentFilePassword OF ( (unzFile file, const char *password)  )
ZEXTERN int ZEXPORT unzOpenCurrentFile2 OF ( (unzFile file, int *method, int *level, int raw)  )
ZEXTERN int ZEXPORT unzOpenCurrentFile3 OF ( (unzFile file, int *method, int *level, int raw, const char *password)  )
ZEXTERN int ZEXPORT unzGetLocalExtrafield OF ( (unzFile file, voidp buf, unsigned len)  )
ZEXTERN int ZEXPORT unzGetFilePos ( unzFile  file,
unz_file_pos file_pos 
)
ZEXTERN int ZEXPORT unzGetFilePos64 ( unzFile  file,
unz64_file_pos file_pos 
)
ZEXTERN uLong ZEXPORT unzGetOffset ( unzFile  file)

Definition at line 2094 of file unzip.c.

References unzGetOffset64().

ZEXTERN ZPOS64_T ZEXPORT unzGetOffset64 ( unzFile  file)
ZEXTERN int ZEXPORT unzGoToFilePos ( unzFile  file,
unz_file_pos file_pos 
)
ZEXTERN int ZEXPORT unzGoToFilePos64 ( unzFile  file,
const unz64_file_pos file_pos 
)
ZEXTERN int ZEXPORT unzSetOffset ( unzFile  file,
uLong  pos 
)

Definition at line 2122 of file unzip.c.

References unzSetOffset64().

ZEXTERN int ZEXPORT unzSetOffset64 ( unzFile  file,
ZPOS64_T  pos 
)