| 1 |
#include <bzlib.h> |
| 2 |
#include <stdlib.h> |
| 3 |
|
| 4 |
int |
| 5 |
bzip2__new(bz_stream **stream, int blockSize100k, int verbosity, int workFactor ) |
| 6 |
{ |
| 7 |
*stream = calloc(1, sizeof(bz_stream)); |
| 8 |
|
| 9 |
return BZ2_bzCompressInit(*stream, blockSize100k, verbosity, workFactor ); |
| 10 |
} |