aboutsummaryrefslogtreecommitdiff
path: root/src/bzip2.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-10-27 04:44:46 +0000
committerMike Buland <eichlan@xagasoft.com>2011-10-27 04:44:46 +0000
commit9906ffe3c54875133448134c09ec12a0949d48cd (patch)
tree0542fef3d27e796700b87b44394a3ad31dd5b852 /src/bzip2.h
parent411f240da34bab53cd18aa8b7ba09834ede49b1c (diff)
parent029b5d159023f4dad607359dbfaa2479e21fe9e5 (diff)
downloadlibbu++-9906ffe3c54875133448134c09ec12a0949d48cd.tar.gz
libbu++-9906ffe3c54875133448134c09ec12a0949d48cd.tar.bz2
libbu++-9906ffe3c54875133448134c09ec12a0949d48cd.tar.xz
libbu++-9906ffe3c54875133448134c09ec12a0949d48cd.zip
Reorg'd! I merged in the release-fixup branch and fixed all random warnings.
I also cleaned up the build script, the symlink generation is faster and looks nicer, there's one think left to fix there, but it's not too bad.
Diffstat (limited to '')
-rw-r--r--src/bzip2.h5
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
16namespace Bu 15namespace 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;