lib_zipfile.h File Reference

Classes

struct  ZipFileTime
 
struct  ZipFileGlobalInfo
 
struct  ZipFileInfo
 
struct  ZipWriteInfo
 
class  ZipFile
 

Macros

#define ZIP_FLAG_READONLY
 
#define ZIP_FLAG_DIRECTORY
 
#define ZIP_FILE_FLAG_OWNER_R
 
#define ZIP_FILE_FLAG_OWNER_W
 
#define ZIP_FILE_FLAG_OWNER_X
 
#define ZIP_FILE_FLAG_GROUP_R
 
#define ZIP_FILE_FLAG_GROUP_W
 
#define ZIP_FILE_FLAG_GROUP_X
 
#define ZIP_FILE_FLAG_PUBLIC_R
 
#define ZIP_FILE_FLAG_PUBLIC_W
 
#define ZIP_FILE_FLAG_PUBLIC_X
 
#define ZIP_FILE_FLAG_UNIX_MASK
 
#define ZIP_FILE_FLAG_USE_UNIX_FLAGS
 
#define ZIP_FILE_FLAG_UNIX_ATTR
 
#define ZIP_EXTRACT_CREATE_SUBDIR
 
#define ZIP_EXTRACT_IGNORE_READONLY
 
#define ZIP_EXTRACT_IGNORE_PATH_CASE
 
#define EXTRACT_INFO_SUCCESS
 
#define EXTRACT_INFO_FAILED
 
#define EXTRACT_INFO_CANT_WRITE
 
#define EXTRACT_INFO_CANT_WRITE_R_FORCE_OVERWRITE
 
#define EXTRACT_INFO_CANT_WRITE_R_IGNORE
 
#define EXTRACT_INFO_R_CANCEL
 
#define ZIP_APPEND_CREATE
 
#define ZIP_APPEND_CREATEAFTER
 
#define ZIP_APPEND_ADDINZIP
 
#define FILETIME_CREATED
 
#define FILETIME_MODIFIED
 
#define FILETIME_ACCESS
 
#define COMPRESS_DATA_32_BYTE_PADDING
 
#define LIBRARY_ZIPFILE
 

Typedefs

typedef Int32(* ExtractDirectoryCallback) (const Filename &fnSrc, const Filename &fnDest, void *pData, Int32 lInfo)
 

Enumerations

enum  ZipMethod {
  ZipMethodDeflate ,
  ZipMethodStore
}
 

Functions

Bool GetFileTime (const Filename &fn, UINT &nYear, UINT &nMonth, UINT &nDay, UINT &nHour, UINT &nMinute, UINT &nSec, Int32 lType, Bool bIsDir)
 
Bool SetFileTime (const Filename &fn, UINT nYear, UINT nMonth, UINT nDay, UINT nHour, UINT nMinute, UINT nSec, Int32 lType, Bool bIsDir)
 
Bool CompressDataRaw (const void *pSrcData, Int lSrcLen, void *pDestData, Int *plDestLen, Int32 lLevel)
 
Bool UncompressDataRaw (const void *pSrcData, Int lSrcLen, void *pDestData, Int *plDestLen, Int *plRead=nullptr)
 
Bool CompressData (const void *pSrcData, Int lSrcLen, void *&pDestData, Int &lDestLen, Int32 lLevel)
 
Bool UncompressData (const void *pSrcData, Int lSrcLen, void *&pDestData, Int &lDestLen, Int *plRead=nullptr)
 
ZHandle * CompressDataInit (Int32 lLevel)
 
Bool CompressDataDoIt (ZHandle *handle, const void *pSrcData, Int lSrcLen, void *&pDestData, Int &lDestLen, Int32 lFlags)
 
void CompressDataFree (ZHandle *&handle)