20#ifndef INCLUDED_HWPFILTER_SOURCE_HGZIP_H
21#define INCLUDED_HWPFILTER_SOURCE_HGZIP_H
gz_stream * gz_open(HStream &_stream)
Opens a gzipped stream for reading.
int gz_close(gz_stream *file)
Flushes all pending output if necessary, closes the compressed stream and deallocates all the (de)com...
int gz_flush(gz_stream *file, int flush)
Flushes all pending output into the compressed file gz_flush should be called only when strictly nece...
size_t gz_read(gz_stream *file, voidp buf, unsigned len)
Reads the given number of uncompressed bytes from the compressed stream.
Structure for using z_stream.
int z_eof
EOF of the input file.
Byte * inbuf
Input buffer.
uLong crc
Crc32 of uncompressed data.
HStream * _inputstream
Stream.
int z_err
The error code of z_stream operation.