summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-20 20:51:57 -0700
committerPixel <pixel@nobis-crew.org>2010-06-20 20:51:57 -0700
commit8abf31744c41eacee7ea835aca7866735a30a4f0 (patch)
treeb70a65cf27c388c685ceadd00b3272e6123f4c9d /include
parentecb115ec57dcf948262731ff929101647a5f0741 (diff)
Adding levels and ability to raw-compress in 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 b5ae977..7418655 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) throw (GeneralException);
+ static int zlib_deflate(Handle * in, Handle * out, int level = Z_DEFAULT_COMPRESSION, bool raw = 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);