24 entries =
new std::vector<ZipEntry*>();
33 if (
entry == NULL)
return;
53 long dirStart =
pos();
54 for (std::vector<ZipEntry*>::iterator i=
entries->begin(); i !=
entries->end(); i++) {
80 long dirSize = (long)
pos() - dirStart;
101 #ifdef CHEPREP_NO_ZLIB
114 struct tm *utc = gmtime( <ime );
115 entry->
date = (utc->tm_year - 80) << 9 | (utc->tm_mon + 1) << 5 | utc->tm_mday;
116 entry->
time = utc->tm_hour << 11 | utc->tm_min << 5 | utc->tm_sec >> 1;
static const unsigned int VERSIONMADE
ZipOutputStreamBuffer(std::streambuf *buffer)
static const unsigned int VERSIONEXTRACT
void putUI(unsigned int ui)
void putUS(unsigned short us)
virtual ~ZipOutputStreamBuffer()
static const unsigned int CENSIG
static const unsigned int LOCSIG
static const unsigned int ENDSIG
void setComment(const std::string &comment)
void putNextEntry(const std::string &name, bool compress)
std::vector< ZipEntry * > * entries
void putS(const std::string s)
static const unsigned int GENFLAG
static const unsigned int EXTSIG