summaryrefslogtreecommitdiff
path: root/src/bzip2.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/bzip2.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 'src/bzip2.h')
-rw-r--r--src/bzip2.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bzip2.h b/src/bzip2.h
index 6da3dff..0b5140d 100644
--- a/src/bzip2.h
+++ b/src/bzip2.h
@@ -9,7 +9,6 @@
9#define BU_BZIP2_H 9#define BU_BZIP2_H
10 10
11#include <stdint.h> 11#include <stdint.h>
12#include <bzlib.h>
13 12
14#include "bu/filter.h" 13#include "bu/filter.h"
15 14
@@ -36,7 +35,7 @@ namespace Bu
36 35
37 private: 36 private:
38 void bzError( int code ); 37 void bzError( int code );
39 bz_stream bzState; 38 void *prState;
40 bool bReading; 39 bool bReading;
41 int nCompression; 40 int nCompression;
42 char *pBuf; 41 char *pBuf;