aboutsummaryrefslogtreecommitdiff
path: root/src/deflate.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-10-24 16:30:39 +0000
committerMike Buland <eichlan@xagasoft.com>2011-10-24 16:30:39 +0000
commit9cb2695ad318dcda83a353b03c21b4fd71d0f9d6 (patch)
tree0dff744dc9d7348ee922e4f2630ca8acfc438b6f /src/deflate.h
parente2fbc414b932ae9fd305c8e9fc315a306a876a09 (diff)
downloadlibbu++-9cb2695ad318dcda83a353b03c21b4fd71d0f9d6.tar.gz
libbu++-9cb2695ad318dcda83a353b03c21b4fd71d0f9d6.tar.bz2
libbu++-9cb2695ad318dcda83a353b03c21b4fd71d0f9d6.tar.xz
libbu++-9cb2695ad318dcda83a353b03c21b4fd71d0f9d6.zip
Made the encoder state opaque to the caller in Deflate and BZip2 to match Lzma.
That means that when you use Bu::Deflate, Bu::Bzip2, or Bu::Lzma you don't get any of the respective libraries' header files.
Diffstat (limited to '')
-rw-r--r--src/deflate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/deflate.h b/src/deflate.h
index 8ce283b..20d609a 100644
--- a/src/deflate.h
+++ b/src/deflate.h
@@ -9,7 +9,6 @@
9#define BU_DEFLATE_H 9#define BU_DEFLATE_H
10 10
11#include <stdint.h> 11#include <stdint.h>
12#include <zlib.h>
13 12
14#include "bu/filter.h" 13#include "bu/filter.h"
15 14
@@ -49,7 +48,7 @@ namespace Bu
49 48
50 private: 49 private:
51 void zError( int code ); 50 void zError( int code );
52 z_stream zState; 51 void *prState;
53 bool bReading; 52 bool bReading;
54 int nCompression; 53 int nCompression;
55 char *pBuf; 54 char *pBuf;