Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
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
 
struct  unz_global_info64
 
struct  unz_global_info
 
struct  unz_file_info64
 
struct  unz_file_info
 
struct  unz_file_pos
 
struct  unz64_file_pos
 

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
 

Functions

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

Class Documentation

struct tm_unz

Definition at line 84 of file unzip.h.

Collaboration diagram for tm_unz:
Collaboration graph
Class Members
uInt tm_hour
uInt tm_mday
uInt tm_min
uInt tm_mon
uInt tm_sec
uInt tm_year
struct unz_global_info64

Definition at line 96 of file unzip.h.

Collaboration diagram for unz_global_info64:
Collaboration graph
Class Members
ZPOS64_T number_entry
uLong size_comment
struct unz_global_info

Definition at line 103 of file unzip.h.

Collaboration diagram for unz_global_info:
Collaboration graph
Class Members
uLong number_entry
uLong size_comment
struct unz_file_info64

Definition at line 111 of file unzip.h.

Collaboration diagram for unz_file_info64:
Collaboration graph
Class Members
ZPOS64_T compressed_size
uLong compression_method
uLong crc
uLong disk_num_start
uLong dosDate
uLong external_fa
uLong flag
uLong internal_fa
uLong size_file_comment
uLong size_file_extra
uLong size_filename
tm_unz tmu_date
ZPOS64_T uncompressed_size
uLong version
uLong version_needed
struct unz_file_info

Definition at line 132 of file unzip.h.

Collaboration diagram for unz_file_info:
Collaboration graph
Class Members
uLong compressed_size
uLong compression_method
uLong crc
uLong disk_num_start
uLong dosDate
uLong external_fa
uLong flag
uLong internal_fa
uLong size_file_comment
uLong size_file_extra
uLong size_filename
tm_unz tmu_date
uLong uncompressed_size
uLong version
uLong version_needed
struct unz_file_pos

Definition at line 258 of file unzip.h.

Collaboration diagram for unz_file_pos:
Collaboration graph
Class Members
uLong num_of_file
uLong pos_in_zip_directory
struct unz64_file_pos

Definition at line 272 of file unzip.h.

Collaboration diagram for unz64_file_pos:
Collaboration graph
Class Members
ZPOS64_T num_of_file
ZPOS64_T pos_in_zip_directory

Macro Definition Documentation

#define UNZ_BADZIPFILE   (-103)

Definition at line 79 of file unzip.h.

#define UNZ_CRCERROR   (-105)

Definition at line 81 of file unzip.h.

#define UNZ_END_OF_LIST_OF_FILE   (-100)

Definition at line 75 of file unzip.h.

#define UNZ_EOF   (0)

Definition at line 77 of file unzip.h.

#define UNZ_ERRNO   (Z_ERRNO)

Definition at line 76 of file unzip.h.

#define UNZ_INTERNALERROR   (-104)

Definition at line 80 of file unzip.h.

#define UNZ_OK   (0)

Definition at line 74 of file unzip.h.

#define UNZ_PARAMERROR   (-102)

Definition at line 78 of file unzip.h.

#define Z_BZIP2ED   12

Definition at line 62 of file unzip.h.

Typedef Documentation

typedef voidp unzFile

Definition at line 70 of file unzip.h.

Function Documentation

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

Addition for GDAL : START

Addition for GDAL : END

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

Definition at line 1324 of file unzip.c.

int ZEXPORT unzGetFilePos64 ( unzFile  file,
unz64_file_pos file_pos 
)

Definition at line 1308 of file unzip.c.

uLong ZEXPORT unzGetOffset ( unzFile  file)

Definition at line 2094 of file unzip.c.

ZPOS64_T ZEXPORT unzGetOffset64 ( unzFile  file)

Definition at line 2079 of file unzip.c.

int ZEXPORT unzGoToFilePos ( unzFile  file,
unz_file_pos file_pos 
)

Definition at line 1360 of file unzip.c.

int ZEXPORT unzGoToFilePos64 ( unzFile  file,
const unz64_file_pos file_pos 
)

Definition at line 1338 of file unzip.c.

int ZEXPORT unzSetOffset ( unzFile  file,
uLong  pos 
)

Definition at line 2122 of file unzip.c.

int ZEXPORT unzSetOffset64 ( unzFile  file,
ZPOS64_T  pos 
)

Definition at line 2104 of file unzip.c.