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 unzStringFileNameCompare().

Referenced by ZipFile::getObject().

int ZEXPORT PentZip::unzGetFilePos ( unzFile  file,
unz_file_pos file_pos 
)

Definition at line 877 of file unzip.cpp.

References PentZip::unz_s::current_file_ok, PentZip::unz_s::num_file, PentZip::unz_file_pos_s::num_of_file, PentZip::unz_s::pos_in_central_dir, and PentZip::unz_file_pos_s::pos_in_zip_directory.

int ZEXPORT PentZip::unzGoToFilePos ( unzFile  file,
unz_file_pos file_pos 
)

Definition at line 893 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_file_pos_s::num_of_file, PentZip::unz_s::pos_in_central_dir, PentZip::unz_file_pos_s::pos_in_zip_directory, and unzlocal_GetCurrentFileInfoInternal().

local int PentZip::unzlocal_CheckCurrentFileCoherencyHeader ( unz_s *  s,
uInt *  piSizeVar,
uLong *  poffset_local_extrafield,
uInt *  psize_local_extrafield 
)

Definition at line 927 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_s::cur_file_info, PentZip::unz_s::cur_file_info_internal, PentZip::unz_s::filestream, PentZip::unz_file_info_internal_s::offset_curfile, PentZip::unz_file_info_s::size_filename, uLong(), PentZip::unz_file_info_s::uncompressed_size, unzlocal_getLong(), unzlocal_getShort(), and PentZip::unz_s::z_filefunc.

Referenced by unzOpenCurrentFile3().

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

Definition at line 1014 of file unzip.cpp.

References PentZip::unz_s::byte_before_the_zipfile, PentZip::file_in_zip_read_info_s::byte_before_the_zipfile, PentZip::unz_file_info_s::compressed_size, PentZip::file_in_zip_read_info_s::compression_method, PentZip::unz_file_info_s::compression_method, PentZip::unz_file_info_s::crc, PentZip::file_in_zip_read_info_s::crc32, PentZip::file_in_zip_read_info_s::crc32_wait, PentZip::unz_s::cur_file_info, PentZip::unz_s::cur_file_info_internal, PentZip::unz_s::current_file_ok, PentZip::unz_s::encrypted, PentZip::unz_s::filestream, PentZip::file_in_zip_read_info_s::filestream, PentZip::unz_file_info_s::flag, if(), int(), PentZip::unz_s::keys, PentZip::unz_file_info_internal_s::offset_curfile, PentZip::file_in_zip_read_info_s::offset_local_extrafield, PentZip::unz_s::pcrc_32_tab, PentZip::unz_s::pfile_in_zip_read, PentZip::file_in_zip_read_info_s::pos_in_zipfile, PentZip::file_in_zip_read_info_s::pos_local_extrafield, PentZip::file_in_zip_read_info_s::raw, PentZip::file_in_zip_read_info_s::read_buffer, PentZip::file_in_zip_read_info_s::rest_read_compressed, PentZip::file_in_zip_read_info_s::rest_read_uncompressed, PentZip::file_in_zip_read_info_s::size_local_extrafield, PentZip::file_in_zip_read_info_s::stream, PentZip::file_in_zip_read_info_s::stream_initialised, uLong(), PentZip::unz_file_info_s::uncompressed_size, unzCloseCurrentFile(), unzlocal_CheckCurrentFileCoherencyHeader(), voidpf(), PentZip::unz_s::z_filefunc, and PentZip::file_in_zip_read_info_s::z_filefunc.

Referenced by unzOpenCurrentFile(), unzOpenCurrentFile2(), and unzOpenCurrentFilePassword().

int ZEXPORT PentZip::unzOpenCurrentFile ( unzFile  file  ) 

Definition at line 1152 of file unzip.cpp.

References unzOpenCurrentFile3().

Referenced by ZipFile::getObject().

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

Definition at line 1157 of file unzip.cpp.

References unzOpenCurrentFile3().

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

Definition at line 1163 of file unzip.cpp.

References unzOpenCurrentFile3().

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

Definition at line 1179 of file unzip.cpp.

References PentZip::file_in_zip_read_info_s::byte_before_the_zipfile, PentZip::file_in_zip_read_info_s::compression_method, PentZip::file_in_zip_read_info_s::crc32, PentZip::unz_s::encrypted, PentZip::file_in_zip_read_info_s::filestream, if(), PentZip::unz_s::keys, PentZip::unz_s::pcrc_32_tab, PentZip::unz_s::pfile_in_zip_read, PentZip::file_in_zip_read_info_s::pos_in_zipfile, PentZip::file_in_zip_read_info_s::raw, PentZip::file_in_zip_read_info_s::read_buffer, PentZip::file_in_zip_read_info_s::rest_read_compressed, PentZip::file_in_zip_read_info_s::rest_read_uncompressed, PentZip::file_in_zip_read_info_s::stream, uLong(), and PentZip::file_in_zip_read_info_s::z_filefunc.

Referenced by ZipFile::getObject().

z_off_t ZEXPORT PentZip::unztell ( unzFile  file  ) 

Definition at line 1337 of file unzip.cpp.

References PentZip::unz_s::pfile_in_zip_read, and PentZip::file_in_zip_read_info_s::stream.

int ZEXPORT PentZip::unzeof ( unzFile  file  ) 

Definition at line 1356 of file unzip.cpp.

References PentZip::unz_s::pfile_in_zip_read, and PentZip::file_in_zip_read_info_s::rest_read_uncompressed.

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

Definition at line 1388 of file unzip.cpp.

References PentZip::file_in_zip_read_info_s::filestream, PentZip::file_in_zip_read_info_s::offset_local_extrafield, PentZip::unz_s::pfile_in_zip_read, PentZip::file_in_zip_read_info_s::pos_local_extrafield, PentZip::file_in_zip_read_info_s::size_local_extrafield, uLong(), and PentZip::file_in_zip_read_info_s::z_filefunc.

int ZEXPORT PentZip::unzCloseCurrentFile ( unzFile  file  ) 

Definition at line 1437 of file unzip.cpp.

References PentZip::file_in_zip_read_info_s::crc32, PentZip::file_in_zip_read_info_s::crc32_wait, PentZip::unz_s::pfile_in_zip_read, PentZip::file_in_zip_read_info_s::raw, PentZip::file_in_zip_read_info_s::read_buffer, PentZip::file_in_zip_read_info_s::rest_read_uncompressed, PentZip::file_in_zip_read_info_s::stream, and PentZip::file_in_zip_read_info_s::stream_initialised.

Referenced by ZipFile::getObject(), unzClose(), and unzOpenCurrentFile3().

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

Definition at line 1479 of file unzip.cpp.

References PentZip::unz_s::central_pos, PentZip::unz_s::filestream, PentZip::unz_s::gi, PentZip::unz_global_info_s::size_comment, uLong(), and PentZip::unz_s::z_filefunc.

Referenced by ZipFile::readMetadata().

uLong ZEXPORT PentZip::unzGetOffset ( unzFile  file  ) 

Definition at line 1509 of file unzip.cpp.

References 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, and uLong().

int ZEXPORT PentZip::unzSetOffset ( unzFile  file,
uLong  pos 
)

Definition at line 1524 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, and unzlocal_GetCurrentFileInfoInternal().

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

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

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

int ZEXPORT unzeof PentZip::OF ( (unzFile file)   ) 

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

int ZEXPORT unzGetGlobalComment PentZip::OF ( (unzFile file, char *szComment, uLong uSizeBuf)   ) 

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

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

int ZEXPORT unzOpenCurrentFilePassword PentZip::OF ( (unzFile file, const char *password)   ) 

int ZEXPORT unzOpenCurrentFile2 PentZip::OF ( (unzFile file, int *method, int *level, int raw)   ) 

int ZEXPORT unzOpenCurrentFile3 PentZip::OF ( (unzFile file, int *method, int *level, int raw, const char *password)   ) 

int ZEXPORT unzGetLocalExtrafield PentZip::OF ( (unzFile file, voidp buf, unsigned len)   ) 

local linkedlist_datablock_internal* PentZip::allocate_new_datablock (  ) 

Definition at line 163 of file zip.cpp.

References PentZip::linkedlist_datablock_internal_s::avail_in_this_block, PentZip::linkedlist_datablock_internal_s::filled_in_this_block, and PentZip::linkedlist_datablock_internal_s::next_datablock.

Referenced by add_data_in_datablock().

local void PentZip::free_datablock ( linkedlist_datablock_internal ldi  ) 

Definition at line 177 of file zip.cpp.

References PentZip::linkedlist_datablock_internal_s::next_datablock.

Referenced by free_linkedlist(), and zipClose().

local void PentZip::init_linkedlist ( linkedlist_data ll  ) 

Definition at line 187 of file zip.cpp.

References PentZip::linkedlist_data_s::first_block, and PentZip::linkedlist_data_s::last_block.

Referenced by zipOpen2().

local void PentZip::free_linkedlist ( linkedlist_data ll  ) 

Definition at line 192 of file zip.cpp.

References PentZip::linkedlist_data_s::first_block, free_datablock(), and PentZip::linkedlist_data_s::last_block.

local int PentZip::add_data_in_datablock ( linkedlist_data ll,
const void *  buf,
uLong  len 
)

Definition at line 199 of file zip.cpp.

References allocate_new_datablock(), PentZip::linkedlist_datablock_internal_s::avail_in_this_block, PentZip::linkedlist_datablock_internal_s::data, PentZip::linkedlist_datablock_internal_s::filled_in_this_block, PentZip::linkedlist_data_s::first_block, PentZip::linkedlist_data_s::last_block, and PentZip::linkedlist_datablock_internal_s::next_datablock.

Referenced by zipCloseFileInZipRaw(), and zipOpen2().

local int ziplocal_putValue PentZip::OF ( (const zlib_filefunc_def *pzlib_filefunc_def, voidpf filestream, uLong x, int nbByte)   ) 

local int PentZip::ziplocal_putValue ( const zlib_filefunc_def pzlib_filefunc_def,
voidpf  filestream,
uLong  x,
int  nbByte 
)

Definition at line 262 of file zip.cpp.

References n, and uLong().

Referenced by zipClose(), zipCloseFileInZipRaw(), and zipOpenNewFileInZip3().

local void ziplocal_putValue_inmemory PentZip::OF ( (void *dest, uLong x, int nbByte)   ) 

local void PentZip::ziplocal_putValue_inmemory ( void *  dest,
uLong  x,
int  nbByte 
)

Definition at line 287 of file zip.cpp.

References n.

Referenced by zipCloseFileInZipRaw(), and zipOpenNewFileInZip3().

local uLong PentZip::ziplocal_TmzDateToDosDate ( const tm_zip ptm,
uLong  dosDate 
)

Definition at line 308 of file zip.cpp.

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

Referenced by zipOpenNewFileInZip3().

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

Definition at line 329 of file zip.cpp.

References int().

Referenced by ziplocal_getLong(), and ziplocal_getShort().

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

Definition at line 357 of file zip.cpp.

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

Referenced by zipOpen2().

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

Definition at line 383 of file zip.cpp.

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

Referenced by zipOpen2().

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

Definition at line 423 of file zip.cpp.

References uLong().

Referenced by zipOpen2().

zipFile ZEXPORT PentZip::zipOpen2 ( const char *  pathname,
int  append,
zipcharpc globalcomment,
zlib_filefunc_def pzlib_filefunc_def 
)

Definition at line 480 of file zip.cpp.

References add_data_in_datablock(), PentZip::zip_internal::add_position_when_writting_offset, PentZip::zip_internal::begin_pos, PentZip::zip_internal::central_dir, PentZip::zip_internal::ci, PentZip::zip_internal::filestream, fill_fopen_filefunc(), PentZip::zip_internal::in_opened_file_inzip, init_linkedlist(), PentZip::zip_internal::number_entry, PentZip::zlib_filefunc_def_s::opaque, PentZip::curfile_info::stream_initialised, uLong(), PentZip::zip_internal::z_filefunc, ziplocal_getLong(), ziplocal_getShort(), ziplocal_SearchCentralDir(), and PentZip::zlib_filefunc_def_s::zopen_file.

Referenced by SavegameWriter::SavegameWriter(), and zipOpen().

zipFile ZEXPORT PentZip::zipOpen ( const char *  pathname,
int  append 
)

Definition at line 643 of file zip.cpp.

References zipOpen2().

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

Definition at line 648 of file zip.cpp.

References PentZip::zip_internal::add_position_when_writting_offset, PentZip::curfile_info::buffered_data, PentZip::curfile_info::central_header, PentZip::zip_internal::ci, PentZip::curfile_info::crc32, PentZip::zip_fileinfo::dosDate, PentZip::curfile_info::dosDate, PentZip::curfile_info::encrypt, PentZip::zip_fileinfo::external_fa, PentZip::zip_internal::filestream, PentZip::curfile_info::flag, if(), PentZip::zip_internal::in_opened_file_inzip, PentZip::zip_fileinfo::internal_fa, PentZip::curfile_info::method, PentZip::curfile_info::pos_in_buffered_data, PentZip::curfile_info::pos_local_header, PentZip::curfile_info::raw, PentZip::curfile_info::size_centralheader, PentZip::curfile_info::stream, PentZip::curfile_info::stream_initialised, PentZip::zip_fileinfo::tmz_date, uLong(), voidpf(), PentZip::zip_internal::z_filefunc, zipCloseFileInZip(), ziplocal_putValue(), ziplocal_putValue_inmemory(), and ziplocal_TmzDateToDosDate().

Referenced by zipOpenNewFileInZip2().

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

Definition at line 846 of file zip.cpp.

References zipOpenNewFileInZip3().

Referenced by zipOpenNewFileInZip().

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

Definition at line 864 of file zip.cpp.

References zipOpenNewFileInZip2().

Referenced by SavegameWriter::writeFile().

local int PentZip::zipFlushWriteBuffer ( zip_internal *  zi  ) 

Definition at line 880 of file zip.cpp.

References PentZip::curfile_info::buffered_data, PentZip::zip_internal::ci, PentZip::curfile_info::encrypt, PentZip::zip_internal::filestream, PentZip::curfile_info::keys, PentZip::curfile_info::pcrc_32_tab, PentZip::curfile_info::pos_in_buffered_data, and PentZip::zip_internal::z_filefunc.

Referenced by zipCloseFileInZipRaw(), and zipWriteInFileInZip().

int ZEXPORT PentZip::zipWriteInFileInZip ( zipFile  file,
const void *  buf,
unsigned  len 
)

Definition at line 901 of file zip.cpp.

References PentZip::curfile_info::buffered_data, PentZip::zip_internal::ci, PentZip::curfile_info::crc32, PentZip::zip_internal::in_opened_file_inzip, PentZip::curfile_info::method, PentZip::curfile_info::pos_in_buffered_data, PentZip::curfile_info::raw, PentZip::curfile_info::stream, uLong(), and zipFlushWriteBuffer().

Referenced by SavegameWriter::writeFile().

int ZEXPORT PentZip::zipCloseFileInZipRaw ( zipFile  file,
uLong  uncompressed_size,
uLong  crc32 
)

Definition at line 964 of file zip.cpp.

References add_data_in_datablock(), PentZip::curfile_info::buffered_data, PentZip::zip_internal::ci, PentZip::zip_internal::in_opened_file_inzip, PentZip::curfile_info::method, PentZip::curfile_info::pos_in_buffered_data, PentZip::curfile_info::raw, PentZip::curfile_info::stream, uLong(), zipFlushWriteBuffer(), ziplocal_putValue(), and ziplocal_putValue_inmemory().

Referenced by zipCloseFileInZip().

int ZEXPORT PentZip::zipCloseFileInZip ( zipFile  file  ) 

Definition at line 1058 of file zip.cpp.

References zipCloseFileInZipRaw().

Referenced by SavegameWriter::writeFile(), zipClose(), and zipOpenNewFileInZip3().

int ZEXPORT PentZip::zipClose ( zipFile  file,
const char *  global_comment 
)

Definition at line 1063 of file zip.cpp.

References PentZip::zip_internal::add_position_when_writting_offset, PentZip::zip_internal::central_dir, PentZip::linkedlist_datablock_internal_s::data, PentZip::zip_internal::filestream, PentZip::linkedlist_datablock_internal_s::filled_in_this_block, PentZip::linkedlist_data_s::first_block, free_datablock(), PentZip::zip_internal::in_opened_file_inzip, PentZip::linkedlist_datablock_internal_s::next_datablock, PentZip::zip_internal::number_entry, uLong(), PentZip::zip_internal::z_filefunc, zipCloseFileInZip(), and ziplocal_putValue().

Referenced by SavegameWriter::finish().

zipFile ZEXPORT zipOpen PentZip::OF ( (const char *pathname, int append)   ) 

zipFile ZEXPORT zipOpen2 PentZip::OF ( (const char *pathname, int append, zipcharpc *globalcomment, zlib_filefunc_def *pzlib_filefunc_def)   ) 

int ZEXPORT zipOpenNewFileInZip PentZip::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 PentZip::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 PentZip::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 PentZip::OF ( (zipFile file, const void *buf, unsigned len)   ) 

int ZEXPORT zipCloseFileInZip PentZip::OF ( (zipFile file)   ) 

int ZEXPORT zipCloseFileInZipRaw PentZip::OF ( (zipFile file, uLong uncompressed_size, uLong crc32)   ) 

int ZEXPORT zipClose PentZip::OF ( (zipFile file, const char *global_comment)   ) 


Variable Documentation

const char PentZip::unz_copyright[]

Initial value:

   " unzip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll"

Definition at line 95 of file unzip.cpp.

Referenced by unzOpen2().

const char PentZip::zip_copyright[]

Initial value:

   " zip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll"

Definition at line 87 of file zip.cpp.


Generated on Fri Jul 27 22:30:37 2007 for pentagram by  doxygen 1.4.7