74 return !(bool)
ZipAdd(
hZip, sFilename.c_str(), sFilename.c_str());
83 std::string sZipfilecontent =
"";
86 unsigned long int totalsize = 0;
93 unsigned long int bufsize = 1024;
97 sZipfilecontent.append(cBuffer, bufsize);
100 return sZipfilecontent;
110 std::string sFilecontent =
"";
bool open(const std::string &sZipFilename, int nOpenmode=0)
std::string getZipContent()
bool addFile(const std::string &sFilename)
std::string getZipItem(const std::string &sFilename)
ZRESULT GetZipItem(HZIP hz, int index, ZIPENTRY *ze)
ZRESULT FindZipItem(HZIP hz, const TCHAR *name, bool ic, int *index, ZIPENTRY *ze)
ZRESULT UnzipItem(HZIP hz, int index, const TCHAR *fn)
HZIP OpenZip(const TCHAR *fn, const char *password)
ZRESULT ZipAdd(HZIP hz, const TCHAR *dstzn, const TCHAR *fn)
HZIP CreateZip(const TCHAR *fn, const char *password)