From 8abf31744c41eacee7ea835aca7866735a30a4f0 Mon Sep 17 00:00:00 2001
From: Pixel <pixel@nobis-crew.org>
Date: Sun, 20 Jun 2010 20:51:57 -0700
Subject: Adding levels and ability to raw-compress in zlib_deflate.

---
 include/Handle.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'include')

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);
-- 
cgit v1.2.3