From b4202e0c50ccc651f77e46b9bee46e2a7eb3f119 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 1 Jun 2009 17:15:25 +0000 Subject: Better handling of lenghts in the ucl part. --- include/Handle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/Handle.h b/include/Handle.h index 894ab8e..8b9f866 100644 --- a/include/Handle.h +++ b/include/Handle.h @@ -72,8 +72,8 @@ class Handle : public Base { static int zlib_inflate(Handle * in, Handle * out) throw (GeneralException); static int zlib_deflate(Handle * in, Handle * out) throw (GeneralException); #ifdef HAVE_UCL - static int ucl_compress(Handle * in, Handle * out) throw (GeneralException); - static int ucl_decompress(Handle * in, Handle * out) throw (GeneralException); + static int ucl_compress(Handle * in, Handle * out, int len_in = -1) throw (GeneralException); + static int ucl_decompress(Handle * in, Handle * out, int len_in = -1) throw (GeneralException); #endif protected: Handle(int h); -- cgit v1.2.3