diff options
Diffstat (limited to 'src/bzip2.h')
-rw-r--r-- | src/bzip2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bzip2.h b/src/bzip2.h index 6da3dff..9a8d172 100644 --- a/src/bzip2.h +++ b/src/bzip2.h | |||
@@ -9,15 +9,16 @@ | |||
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 | ||
16 | namespace Bu | 15 | namespace Bu |
17 | { | 16 | { |
18 | /** | 17 | /** |
18 | * Provides BZip2 type compression and decompression. | ||
19 | * | 19 | * |
20 | *@ingroup Streams | 20 | *@ingroup Streams |
21 | *@ingroup Compression | ||
21 | */ | 22 | */ |
22 | class BZip2 : public Bu::Filter | 23 | class BZip2 : public Bu::Filter |
23 | { | 24 | { |
@@ -36,7 +37,7 @@ namespace Bu | |||
36 | 37 | ||
37 | private: | 38 | private: |
38 | void bzError( int code ); | 39 | void bzError( int code ); |
39 | bz_stream bzState; | 40 | void *prState; |
40 | bool bReading; | 41 | bool bReading; |
41 | int nCompression; | 42 | int nCompression; |
42 | char *pBuf; | 43 | char *pBuf; |