ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
unzip.h File Reference
#include "zlib.h"
#include "ioapi.h"
Include dependency graph for unzip.h:
This graph shows which files directly or indirectly include this file:

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)
 
#define UNZ_AUTO_CLOSE   0x01u
 
#define UNZ_DEFAULT_FLAGS   UNZ_AUTO_CLOSE
 

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 _Z_OF ((const char *fileName1, const char *fileName2, int iCaseSensitivity))
 
unzFile ZEXPORT unzOpen _Z_OF ((voidpf file))
 
unzFile ZEXPORT unzOpen2 _Z_OF ((voidpf file, zlib_filefunc_def *pzlib_filefunc_def))
 
unzFile ZEXPORT unzOpen2_64 _Z_OF ((voidpf file, zlib_filefunc64_def *pzlib_filefunc_def))
 
int ZEXPORT unzClose _Z_OF ((unzFile file))
 
int ZEXPORT unzGetGlobalInfo _Z_OF ((unzFile file, unz_global_info *pglobal_info))
 
int ZEXPORT unzGetGlobalInfo64 _Z_OF ((unzFile file, unz_global_info64 *pglobal_info))
 
int ZEXPORT unzGetGlobalComment _Z_OF ((unzFile file, char *szComment, uLong uSizeBuf))
 
int ZEXPORT unzLocateFile _Z_OF ((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 _Z_OF ((unzFile file, unz_file_info64 *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize))
 
int ZEXPORT unzGetCurrentFileInfo _Z_OF ((unzFile file, unz_file_info *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize))
 
int ZEXPORT unzOpenCurrentFilePassword _Z_OF ((unzFile file, const char *password))
 
int ZEXPORT unzOpenCurrentFile2 _Z_OF ((unzFile file, int *method, int *level, int raw))
 
int ZEXPORT unzOpenCurrentFile3 _Z_OF ((unzFile file, int *method, int *level, int raw, const char *password))
 
int ZEXPORT unzReadCurrentFile _Z_OF ((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)
 
int ZEXPORT unzSetFlags (unzFile file, unsigned flags)
 
int ZEXPORT unzClearFlags (unzFile file, unsigned flags)
 

Macro Definition Documentation

◆ UNZ_AUTO_CLOSE

#define UNZ_AUTO_CLOSE   0x01u

Definition at line 92 of file unzip.h.

◆ UNZ_BADZIPFILE

#define UNZ_BADZIPFILE   (-103)

Definition at line 88 of file unzip.h.

◆ UNZ_CRCERROR

#define UNZ_CRCERROR   (-105)

Definition at line 90 of file unzip.h.

◆ UNZ_DEFAULT_FLAGS

#define UNZ_DEFAULT_FLAGS   UNZ_AUTO_CLOSE

Definition at line 93 of file unzip.h.

◆ UNZ_END_OF_LIST_OF_FILE

#define UNZ_END_OF_LIST_OF_FILE   (-100)

Definition at line 84 of file unzip.h.

◆ UNZ_EOF

#define UNZ_EOF   (0)

Definition at line 86 of file unzip.h.

◆ UNZ_ERRNO

#define UNZ_ERRNO   (Z_ERRNO)

Definition at line 85 of file unzip.h.

◆ UNZ_INTERNALERROR

#define UNZ_INTERNALERROR   (-104)

Definition at line 89 of file unzip.h.

◆ UNZ_OK

#define UNZ_OK   (0)

Definition at line 83 of file unzip.h.

◆ UNZ_PARAMERROR

#define UNZ_PARAMERROR   (-102)

Definition at line 87 of file unzip.h.

◆ Z_BZIP2ED

#define Z_BZIP2ED   12

Definition at line 70 of file unzip.h.

Typedef Documentation

◆ tm_unz

typedef struct tm_unz_s tm_unz

◆ unz64_file_pos

◆ unz_file_info

◆ unz_file_info64

◆ unz_file_pos

typedef struct unz_file_pos_s unz_file_pos

◆ unz_global_info

◆ unz_global_info64

◆ unzFile

typedef voidp unzFile

Definition at line 80 of file unzip.h.

Function Documentation

◆ _Z_OF() [1/15]

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

◆ _Z_OF() [2/15]

int ZEXPORT unzClose _Z_OF ( (unzFile file)  )

Addition for GDAL : START

Addition for GDAL : END

◆ _Z_OF() [3/15]

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

◆ _Z_OF() [4/15]

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

◆ _Z_OF() [5/15]

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

◆ _Z_OF() [6/15]

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

◆ _Z_OF() [7/15]

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

◆ _Z_OF() [8/15]

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

◆ _Z_OF() [9/15]

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

◆ _Z_OF() [10/15]

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

◆ _Z_OF() [11/15]

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

◆ _Z_OF() [12/15]

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

◆ _Z_OF() [13/15]

unzFile ZEXPORT unzOpen _Z_OF ( (voidpf file)  )

◆ _Z_OF() [14/15]

unzFile ZEXPORT unzOpen2_64 _Z_OF ( (voidpf file, zlib_filefunc64_def *pzlib_filefunc_def)  )

◆ _Z_OF() [15/15]

unzFile ZEXPORT unzOpen2 _Z_OF ( (voidpf file, zlib_filefunc_def *pzlib_filefunc_def)  )

◆ unzClearFlags()

int ZEXPORT unzClearFlags ( unzFile  file,
unsigned  flags 
)

Definition at line 2139 of file unzip.c.

References unz64_s::flags, NULL, UNZ_OK, and UNZ_PARAMERROR.

◆ unzGetFilePos()

◆ unzGetFilePos64()

◆ unzGetOffset()

uLong ZEXPORT unzGetOffset ( unzFile  file)

Definition at line 2094 of file unzip.c.

References NULL, and unzGetOffset64().

◆ unzGetOffset64()

ZPOS64_T ZEXPORT unzGetOffset64 ( unzFile  file)

◆ unzGoToFilePos()

◆ unzGoToFilePos64()

int ZEXPORT unzGoToFilePos64 ( unzFile  file,
const unz64_file_pos file_pos 
)

◆ unzSetFlags()

int ZEXPORT unzSetFlags ( unzFile  file,
unsigned  flags 
)

Definition at line 2128 of file unzip.c.

References unz64_s::flags, NULL, UNZ_OK, and UNZ_PARAMERROR.

◆ unzSetOffset()

int ZEXPORT unzSetOffset ( unzFile  file,
uLong  pos 
)

Definition at line 2122 of file unzip.c.

References unzSetOffset64().

◆ unzSetOffset64()

int ZEXPORT unzSetOffset64 ( unzFile  file,
ZPOS64_T  pos 
)