summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-07-01 19:49:24 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-07-01 19:49:24 +0200
commitecf0de245cba43276df7ac4a9410361e0346a2a0 (patch)
tree4bd20b9310ee026e0af1894bf3d85232f181dfeb /include
parent556aa54bfdfdc72c49a9ea705fe81c03f596c732 (diff)
Adding gzip generation from zlib_deflate.
Diffstat (limited to 'include')
-rw-r--r--include/Handle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Handle.h b/include/Handle.h
index 7418655..1aca644 100644
--- a/include/Handle.h
+++ b/include/Handle.h
@@ -80,7 +80,7 @@ class Handle : public Base {
static int GetNbHandles();
static int zlib_inflate(Handle * in, Handle * out) throw (GeneralException);
- static int zlib_deflate(Handle * in, Handle * out, int level = Z_DEFAULT_COMPRESSION, bool raw = false) throw (GeneralException);
+ static int zlib_deflate(Handle * in, Handle * out, int level = Z_DEFAULT_COMPRESSION, bool raw = false, bool gzip = false) throw (GeneralException);
#ifdef HAVE_UCL
static int ucl_compress(Handle * in, Handle * out, int len_in = -1) throw (GeneralException);
static int ucl_decompress(Handle * in, Handle * out, unsigned int len_out, int len_in = -1) throw (GeneralException);