committed latest 1.3 snapshot

This commit is contained in:
Guenter Obiltschnig
2007-04-18 16:22:57 +00:00
parent a8332eaaf3
commit b7a945da93
94 changed files with 6724 additions and 329 deletions

View File

@@ -1,7 +1,7 @@
//
// InflatingStream.h
//
// $Id: //poco/Main/Foundation/include/Poco/InflatingStream.h#2 $
// $Id: //poco/Main/Foundation/include/Poco/InflatingStream.h#3 $
//
// Library: Foundation
// Package: Streams
@@ -61,7 +61,8 @@ public:
enum StreamType
{
STREAM_ZLIB,
STREAM_GZIP
STREAM_GZIP,
STREAM_ZIP // ZIP is handled as STREAM_ZLIB, except that we do not check the ADLER32 value (must be checked by an outside class!)
};
InflatingStreamBuf(std::istream& istr, StreamType type);
@@ -85,6 +86,7 @@ private:
char* _buffer;
z_stream _zstr;
bool _eof;
bool _check;
};