PentZip Namespace Reference


Classes

struct  zlib_filefunc_def_s
struct  unz_file_info_internal_s
struct  file_in_zip_read_info_s
struct  unz_s
struct  TagunzFile__
struct  tm_unz_s
struct  unz_global_info_s
struct  unz_file_info_s
struct  unz_file_pos_s
struct  linkedlist_datablock_internal_s
struct  linkedlist_data_s
struct  curfile_info
struct  zip_internal
struct  TagzipFile__
struct  tm_zip_s
struct  zip_fileinfo

Typedefs

typedef const char * filename
typedef const char int mode
typedef voidpf stream
typedef voidpf void * buf
typedef voidpf void uLong size
typedef voidpf stream
typedef voidpf const void * buf
typedef voidpf const void
uLong 
size
typedef voidpf stream
typedef voidpf stream
typedef voidpf uLong offset
typedef voidpf uLong int origin
typedef voidpf stream
typedef voidpf stream
typedef PentZip::zlib_filefunc_def_s zlib_filefunc_def
typedef PentZip::unz_file_info_internal_s unz_file_info_internal
typedef PentZip::TagunzFile__ unzFile__
typedef unzFile__unzFile
typedef voidp unzFile
typedef PentZip::tm_unz_s tm_unz
typedef PentZip::unz_global_info_s unz_global_info
typedef PentZip::unz_file_info_s unz_file_info
typedef PentZip::unz_file_pos_s unz_file_pos
typedef PentZip::linkedlist_datablock_internal_s linkedlist_datablock_internal
typedef PentZip::linkedlist_data_s linkedlist_data
typedef PentZip::TagzipFile__ zipFile__
typedef zipFile__zipFile
typedef voidp zipFile
typedef PentZip::tm_zip_s tm_zip
typedef const char * zipcharpc

Functions

voidpf ZCALLBACK fopen_file_func OF ((voidpf opaque, const char *filename, int mode))
uLong ZCALLBACK fread_file_func OF ((voidpf opaque, voidpf stream, void *buf, uLong size))
uLong ZCALLBACK fwrite_file_func OF ((voidpf opaque, voidpf stream, const void *buf, uLong size))
long ZCALLBACK ftell_file_func OF ((voidpf opaque, voidpf stream))
long ZCALLBACK fseek_file_func OF ((voidpf opaque, voidpf stream, uLong offset, int origin))
voidpf ZCALLBACK fopen_file_func (voidpf opaque, const char *filename, int mode)
uLong ZCALLBACK fread_file_func (voidpf opaque, voidpf stream, void *buf, uLong size)
uLong ZCALLBACK fwrite_file_func (voidpf opaque, voidpf stream, const void *buf, uLong size)
long ZCALLBACK ftell_file_func (voidpf opaque, voidpf stream)
long ZCALLBACK fseek_file_func (voidpf opaque, voidpf stream, uLong offset, int origin)
int ZCALLBACK fclose_file_func (voidpf opaque, voidpf stream)
int ZCALLBACK ferror_file_func (voidpf opaque, voidpf stream)
void fill_fopen_filefunc (zlib_filefunc_def *pzlib_filefunc_def)
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque
typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque
typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque
typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque
void fill_fopen_filefunc OF ((zlib_filefunc_def *pzlib_filefunc_def))
local int unzlocal_getByte OF ((const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, int *pi))
local int unzlocal_getByte (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, int *pi)
local int unzlocal_getShort OF ((const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX))
local int unzlocal_getShort (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX)
local int unzlocal_getLong (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX)
local int strcmpcasenosensitive_internal (const char *fileName1, const char *fileName2)
int ZEXPORT unzStringFileNameCompare (const char *fileName1, const char *fileName2, int iCaseSensitivity)
local uLong unzlocal_SearchCentralDir OF ((const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream))
local uLong unzlocal_SearchCentralDir (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream)
unzFile ZEXPORT unzOpen2 (const char *path, zlib_filefunc_def *pzlib_filefunc_def)
unzFile ZEXPORT unzOpen (const char *path)
int ZEXPORT unzClose (unzFile file)
int ZEXPORT unzGetGlobalInfo (unzFile file, unz_global_info *pglobal_info)
local void unzlocal_DosDateToTmuDate (uLong ulDosDate, tm_unz *ptm)
local 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))
local 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)
local 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)
int ZEXPORT unzStringFileNameCompare OF ((const char *fileName1, const char *fileName2, int iCaseSensitivity))
unzFile ZEXPORT unzOpen OF ((const char *path))
unzFile ZEXPORT unzOpen2 OF ((const char *path, zlib_filefunc_def *pzlib_filefunc_def))
int ZEXPORT unzClose OF ((unzFile file))
int ZEXPORT unzGetGlobalInfo OF ((unzFile file, unz_global_info *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 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))
local linkedlist_datablock_internalallocate_new_datablock ()
local void free_datablock (linkedlist_datablock_internal *ldi)
local void init_linkedlist (linkedlist_data *ll)
local void free_linkedlist (linkedlist_data *ll)
local int add_data_in_datablock (linkedlist_data *ll, const void *buf, uLong len)
local int ziplocal_putValue OF ((const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong x, int nbByte))
local int ziplocal_putValue (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong x, int nbByte)
local void ziplocal_putValue_inmemory OF ((void *dest, uLong x, int nbByte))
local void ziplocal_putValue_inmemory (void *dest, uLong x, int nbByte)
local uLong ziplocal_TmzDateToDosDate (const tm_zip *ptm, uLong dosDate)
local int ziplocal_getByte (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, int *pi)
local int ziplocal_getShort (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX)
local int ziplocal_getLong (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX)
local uLong ziplocal_SearchCentralDir (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream)
zipFile ZEXPORT zipOpen2 (const char *pathname, int append, zipcharpc *globalcomment, zlib_filefunc_def *pzlib_filefunc_def)
zipFile ZEXPORT zipOpen (const char *pathname, int append)
int ZEXPORT zipOpenNewFileInZip3 (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCrypting)
int ZEXPORT zipOpenNewFileInZip2 (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw)
int ZEXPORT zipOpenNewFileInZip (zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level)
local int zipFlushWriteBuffer (zip_internal *zi)
int ZEXPORT zipWriteInFileInZip (zipFile file, const void *buf, unsigned len)
int ZEXPORT zipCloseFileInZipRaw (zipFile file, uLong uncompressed_size, uLong crc32)
int ZEXPORT zipCloseFileInZip (zipFile file)
int ZEXPORT zipClose (zipFile file, const char *global_comment)
zipFile ZEXPORT zipOpen OF ((const char *pathname, int append))
zipFile ZEXPORT zipOpen2 OF ((const char *pathname, int append, zipcharpc *globalcomment, zlib_filefunc_def *pzlib_filefunc_def))
int ZEXPORT zipOpenNewFileInZip OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level))
int ZEXPORT zipOpenNewFileInZip2 OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw))
int ZEXPORT zipOpenNewFileInZip3 OF ((zipFile file, const char *filename, const zip_fileinfo *zipfi, const void *extrafield_local, uInt size_extrafield_local, const void *extrafield_global, uInt size_extrafield_global, const char *comment, int method, int level, int raw, int windowBits, int memLevel, int strategy, const char *password, uLong crcForCtypting))
int ZEXPORT zipWriteInFileInZip OF ((zipFile file, const void *buf, unsigned len))
int ZEXPORT zipCloseFileInZip OF ((zipFile file))
int ZEXPORT zipCloseFileInZipRaw OF ((zipFile file, uLong uncompressed_size, uLong crc32))
int ZEXPORT zipClose OF ((zipFile file, const char *global_comment))

Variables

const char unz_copyright []
const char zip_copyright []


Typedef Documentation

typedef const char* PentZip::filename

Definition at line 37 of file ioapi.h.

typedef const char int PentZip::mode

Definition at line 37 of file ioapi.h.

typedef voidpf PentZip::stream

Definition at line 38 of file ioapi.h.

typedef voidpf void* PentZip::buf

Definition at line 38 of file ioapi.h.

typedef voidpf void uLong PentZip::size

Definition at line 38 of file ioapi.h.

typedef voidpf PentZip::stream

Definition at line 39 of file ioapi.h.

typedef voidpf const void* PentZip::buf

Definition at line 39 of file ioapi.h.

typedef voidpf const void uLong PentZip::size

Definition at line 39 of file ioapi.h.

typedef voidpf PentZip::stream

Definition at line 40 of file ioapi.h.

typedef voidpf PentZip::stream

Definition at line 41 of file ioapi.h.

typedef voidpf uLong PentZip::offset

Definition at line 41 of file ioapi.h.

typedef voidpf uLong int PentZip::origin

Definition at line 41 of file ioapi.h.

typedef voidpf PentZip::stream

Definition at line 42 of file ioapi.h.

typedef voidpf PentZip::stream

Definition at line 43 of file ioapi.h.

typedef struct PentZip::zlib_filefunc_def_s PentZip::zlib_filefunc_def

typedef struct PentZip::unz_file_info_internal_s PentZip::unz_file_info_internal

typedef struct PentZip::TagunzFile__ PentZip::unzFile__

typedef unzFile__* PentZip::unzFile

Definition at line 61 of file unzip.h.

typedef voidp PentZip::unzFile

Definition at line 63 of file unzip.h.

typedef struct PentZip::tm_unz_s PentZip::tm_unz

typedef struct PentZip::unz_global_info_s PentZip::unz_global_info

typedef struct PentZip::unz_file_info_s PentZip::unz_file_info

typedef struct PentZip::unz_file_pos_s PentZip::unz_file_pos

typedef struct PentZip::linkedlist_datablock_internal_s PentZip::linkedlist_datablock_internal

typedef struct PentZip::linkedlist_data_s PentZip::linkedlist_data

typedef struct PentZip::TagzipFile__ PentZip::zipFile__

typedef zipFile__* PentZip::zipFile

Definition at line 63 of file zip.h.

typedef voidp PentZip::zipFile

Definition at line 65 of file zip.h.

typedef struct PentZip::tm_zip_s PentZip::tm_zip

typedef const char* PentZip::zipcharpc

Definition at line 105 of file zip.h.


Function Documentation

voidpf ZCALLBACK fopen_file_func PentZip::OF ( (voidpf opaque, const char *filename, int mode  ) 

uLong ZCALLBACK fread_file_func PentZip::OF ( (voidpf opaque, voidpf stream, void *buf, uLong size  ) 

uLong ZCALLBACK fwrite_file_func PentZip::OF ( (voidpf opaque, voidpf stream, const void *buf, uLong size  ) 

int ZCALLBACK ferror_file_func PentZip::OF ( (voidpf opaque, voidpf stream  ) 

long ZCALLBACK fseek_file_func PentZip::OF ( (voidpf opaque, voidpf stream, uLong offset, int origin  ) 

voidpf ZCALLBACK PentZip::fopen_file_func ( voidpf  opaque,
const char *  filename,
int  mode 
)

Definition at line 74 of file ioapi.cpp.

Referenced by fill_fopen_filefunc().

uLong ZCALLBACK PentZip::fread_file_func ( voidpf  opaque,
voidpf  stream,
void *  buf,
uLong  size 
)

Definition at line 93 of file ioapi.cpp.

References uLong().

Referenced by fill_fopen_filefunc().

uLong ZCALLBACK PentZip::fwrite_file_func ( voidpf  opaque,
voidpf  stream,
const void *  buf,
uLong  size 
)

Definition at line 102 of file ioapi.cpp.

References uLong().

Referenced by fill_fopen_filefunc().

long ZCALLBACK PentZip::ftell_file_func ( voidpf  opaque,
voidpf  stream 
)

Definition at line 110 of file ioapi.cpp.

Referenced by fill_fopen_filefunc().

long ZCALLBACK PentZip::fseek_file_func ( voidpf  opaque,
voidpf  stream,
uLong  offset,
int  origin 
)

Definition at line 117 of file ioapi.cpp.

Referenced by fill_fopen_filefunc().

int ZCALLBACK PentZip::fclose_file_func ( voidpf  opaque,
voidpf  stream 
)

Definition at line 140 of file ioapi.cpp.

Referenced by fill_fopen_filefunc().

int ZCALLBACK PentZip::ferror_file_func ( voidpf  opaque,
voidpf  stream 
)

Definition at line 147 of file ioapi.cpp.

Referenced by fill_fopen_filefunc().

void PentZip::fill_fopen_filefunc ( zlib_filefunc_def pzlib_filefunc_def  ) 

Definition at line 154 of file ioapi.cpp.

References fclose_file_func(), ferror_file_func(), fopen_file_func(), fread_file_func(), fseek_file_func(), ftell_file_func(), fwrite_file_func(), PentZip::zlib_filefunc_def_s::opaque, PentZip::zlib_filefunc_def_s::zclose_file, PentZip::zlib_filefunc_def_s::zerror_file, PentZip::zlib_filefunc_def_s::zopen_file, PentZip::zlib_filefunc_def_s::zread_file, PentZip::zlib_filefunc_def_s::zseek_file, PentZip::zlib_filefunc_def_s::ztell_file, and PentZip::zlib_filefunc_def_s::zwrite_file.

Referenced by unzOpen2(), and zipOpen2().

typedef PentZip::voidpf ( ZCALLBACK *  open_file_func  ) 

Referenced by unzOpenCurrentFile3(), and zipOpenNewFileInZip3().

typedef PentZip::uLong ( ZCALLBACK *  read_file_func  ) 

Referenced by fread_file_func(), fwrite_file_func(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzGetOffset(), unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_DosDateToTmuDate(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_getLong(), unzlocal_getShort(), unzlocal_SearchCentralDir(), unzLocateFile(), unzOpen2(), unzOpenCurrentFile3(), unzReadCurrentFile(), zipClose(), zipCloseFileInZipRaw(), ziplocal_getLong(), ziplocal_getShort(), ziplocal_putValue(), ziplocal_SearchCentralDir(), ziplocal_TmzDateToDosDate(), zipOpen2(), zipOpenNewFileInZip3(), and zipWriteInFileInZip().

typedef PentZip::long ( ZCALLBACK *  tell_file_func  ) 

Referenced by WindowsMidiDriver::open(), and ALSAMidiDriver::send().

typedef PentZip::int ( ZCALLBACK *  close_file_func  ) 

Referenced by XMidiFile::ApplyFirstState(), Pentagram::AudioMixer::AudioMixer(), Pentagram::SonarcAudioSample::decode_LPC(), AskGump::loadData(), LowLevelMidiDriver::loadRhythmTemp(), FMOplMidiDriver::midi_fm_playnote(), FMOplMidiDriver::open(), FMOpl_Pentagram::OPL_CALC_RH(), FMOpl_Pentagram::OPL_initalize(), FMOpl_Pentagram::OPLOpenTable(), UnixSeqMidiDriver::send(), ALSAMidiDriver::send(), FMOpl_Pentagram::set_ksl_tl(), LowLevelMidiDriver::setPatchBank(), NS_TIMIDITY::start_note(), unzlocal_getByte(), unzOpenCurrentFile3(), NS_TIMIDITY::update_vibrato(), and ziplocal_getByte().

void fill_fopen_filefunc PentZip::OF ( (zlib_filefunc_def *pzlib_filefunc_def)   ) 

local int ziplocal_getByte PentZip::OF ( (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, int *pi)   ) 

local int PentZip::unzlocal_getByte ( const zlib_filefunc_def pzlib_filefunc_def,
voidpf  filestream,
int *  pi 
)

Definition at line 176 of file unzip.cpp.

References int().

Referenced by unzlocal_getLong(), and unzlocal_getShort().

local int ziplocal_getLong PentZip::OF ( (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong *pX)   ) 

local int PentZip::unzlocal_getShort ( const zlib_filefunc_def pzlib_filefunc_def,
voidpf  filestream,
uLong *  pX 
)

Definition at line 204 of file unzip.cpp.

References uLong(), unzlocal_getByte(), and x.

Referenced by unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), and unzOpen2().

local int PentZip::unzlocal_getLong ( const zlib_filefunc_def pzlib_filefunc_def,
voidpf  filestream,
uLong *  pX 
)

Definition at line 230 of file unzip.cpp.

References uLong(), unzlocal_getByte(), and x.

Referenced by unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), and unzOpen2().

local int PentZip::strcmpcasenosensitive_internal ( const char *  fileName1,
const char *  fileName2 
)

Definition at line 261 of file unzip.cpp.

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

Definition at line 303 of file unzip.cpp.

Referenced by unzLocateFile().

local uLong ziplocal_SearchCentralDir PentZip::OF ( (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream)   ) 

local uLong PentZip::unzlocal_SearchCentralDir ( const zlib_filefunc_def pzlib_filefunc_def,
voidpf  filestream 
)

Definition at line 328 of file unzip.cpp.

References uLong().

Referenced by unzOpen2().

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

Definition at line 392 of file unzip.cpp.

References PentZip::unz_s::byte_before_the_zipfile, PentZip::unz_s::central_pos, PentZip::unz_s::encrypted, PentZip::unz_s::filestream, fill_fopen_filefunc(), PentZip::unz_s::gi, PentZip::unz_global_info_s::number_entry, PentZip::unz_s::offset_central_dir, PentZip::zlib_filefunc_def_s::opaque, PentZip::unz_s::pfile_in_zip_read, PentZip::unz_s::size_central_dir, PentZip::unz_global_info_s::size_comment, uLong(), unz_copyright, unzGoToFirstFile(), unzlocal_getLong(), unzlocal_getShort(), unzlocal_SearchCentralDir(), PentZip::unz_s::z_filefunc, and PentZip::zlib_filefunc_def_s::zopen_file.

Referenced by ZipFile::isZipFile(), unzOpen(), and ZipFile::ZipFile().

unzFile ZEXPORT PentZip::unzOpen ( const char *  path  ) 

Definition at line 494 of file unzip.cpp.

References unzOpen2().

int ZEXPORT PentZip::unzClose ( unzFile  file  ) 

Definition at line 504 of file unzip.cpp.

References PentZip::unz_s::filestream, PentZip::unz_s::pfile_in_zip_read, unzCloseCurrentFile(), and PentZip::unz_s::z_filefunc.

Referenced by ZipFile::isZipFile(), ZipFile::ZipFile(), and ZipFile::~ZipFile().

int ZEXPORT PentZip::unzGetGlobalInfo ( unzFile  file,
unz_global_info pglobal_info 
)

Definition at line 524 of file unzip.cpp.

References PentZip::unz_s::gi.

Referenced by ZipFile::readMetadata().

local void PentZip::unzlocal_DosDateToTmuDate ( uLong  ulDosDate,
tm_unz ptm 
)

Definition at line 539 of file unzip.cpp.

References PentZip::tm_unz_s::tm_hour, PentZip::tm_unz_s::tm_mday, PentZip::tm_unz_s::tm_min, PentZip::tm_unz_s::tm_mon, PentZip::tm_unz_s::tm_sec, PentZip::tm_unz_s::tm_year, and uLong().

Referenced by unzlocal_GetCurrentFileInfoInternal().

local int unzlocal_GetCurrentFileInfoInternal PentZip::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)   ) 

local int PentZip::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 
)

Definition at line 566 of file unzip.cpp.

References PentZip::unz_s::byte_before_the_zipfile, PentZip::unz_file_info_s::compressed_size, PentZip::unz_file_info_s::compression_method, PentZip::unz_file_info_s::crc, PentZip::unz_file_info_s::disk_num_start, PentZip::unz_file_info_s::dosDate, PentZip::unz_file_info_s::external_fa, PentZip::unz_s::filestream, PentZip::unz_file_info_s::flag, PentZip::unz_file_info_s::internal_fa, PentZip::unz_file_info_internal_s::offset_curfile, PentZip::unz_s::pos_in_central_dir, PentZip::unz_file_info_s::size_file_comment, PentZip::unz_file_info_s::size_file_extra, PentZip::unz_file_info_s::size_filename, PentZip::unz_file_info_s::tmu_date, uLong(), PentZip::unz_file_info_s::uncompressed_size, unzlocal_DosDateToTmuDate(), unzlocal_getLong(), unzlocal_getShort(), PentZip::unz_file_info_s::version, PentZip::unz_file_info_s::version_needed, and PentZip::unz_s::z_filefunc.

Referenced by unzGetCurrentFileInfo(), unzGoToFilePos(), unzGoToFirstFile(), unzGoToNextFile(), and unzSetOffset().

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

Definition at line 727 of file unzip.cpp.

References unzlocal_GetCurrentFileInfoInternal().

Referenced by ZipFile::getObject(), ZipFile::readMetadata(), and unzLocateFile().

int ZEXPORT PentZip::unzGoToFirstFile ( unzFile  file  ) 

Definition at line 746 of file unzip.cpp.

References PentZip::unz_s::cur_file_info, PentZip::unz_s::cur_file_info_internal, PentZip::unz_s::current_file_ok, PentZip::unz_s::num_file, PentZip::unz_s::offset_central_dir, PentZip::unz_s::pos_in_central_dir, and unzlocal_GetCurrentFileInfoInternal().

Referenced by ZipFile::readMetadata(), unzLocateFile(), and unzOpen2().

int ZEXPORT PentZip::unzGoToNextFile ( unzFile  file  ) 

Definition at line 767 of file unzip.cpp.

References PentZip::unz_s::cur_file_info, PentZip::unz_s::cur_file_info_internal, PentZip::unz_s::current_file_ok, PentZip::unz_s::gi, PentZip::unz_s::num_file, PentZip::unz_global_info_s::number_entry, PentZip::unz_s::pos_in_central_dir, PentZip::unz_file_info_s::size_file_comment, PentZip::unz_file_info_s::size_file_extra, PentZip::unz_file_info_s::size_filename, and unzlocal_GetCurrentFileInfoInternal().

Referenced by ZipFile::readMetadata(), and unzLocateFile().

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

Definition at line 800 of file unzip.cpp.

References PentZip::unz_s::cur_file_info, PentZip::unz_s::cur_file_info_internal, PentZip::unz_s::current_file_ok, PentZip::unz_s::num_file, PentZip::unz_s::pos_in_central_dir, uLong(), unzGetCurrentFileInfo(), unzGoToFirstFile(), unzGoToNextFile(), and