36 #define BZ_FINISH_OK 3
37 #define BZ_STREAM_END 4
38 #define BZ_SEQUENCE_ERROR (-1)
39 #define BZ_PARAM_ERROR (-2)
40 #define BZ_MEM_ERROR (-3)
41 #define BZ_DATA_ERROR (-4)
42 #define BZ_DATA_ERROR_MAGIC (-5)
43 #define BZ_IO_ERROR (-6)
44 #define BZ_UNEXPECTED_EOF (-7)
45 #define BZ_OUTBUFF_FULL (-8)
46 #define BZ_CONFIG_ERROR (-9)
62 void *(*bzalloc)(
void *,int,int);
63 void (*bzfree)(
void *,
void *);
85 # define BZ_API(func) WINAPI func
86 # define BZ_EXTERN extern
89 # define BZ_API(func) (WINAPI * func)
93 # define BZ_API(func) func
94 # define BZ_EXTERN extern
135 #define BZ_MAX_UNUSED 5000
186 unsigned int* nbytes_in,
187 unsigned int* nbytes_out
194 unsigned int* nbytes_in_lo32,
195 unsigned int* nbytes_in_hi32,
196 unsigned int* nbytes_out_lo32,
197 unsigned int* nbytes_out_hi32
206 unsigned int* destLen,
208 unsigned int sourceLen,
216 unsigned int* destLen,
218 unsigned int sourceLen,
#define BZ_API(func)
Definition: bzlib.h:93
BZ_EXTERN const char *BZ_API() BZ2_bzerror(BZFILE *b, int *errnum)
BZ_EXTERN BZFILE *BZ_API() BZ2_bzdopen(int fd, const char *mode)
unsigned int total_in_hi32
Definition: bzlib.h:53
BZ_EXTERN void BZ_API() BZ2_bzWrite(int *bzerror, BZFILE *b, void *buf, int len)
unsigned int avail_in
Definition: bzlib.h:51
BZ_EXTERN BZFILE *BZ_API() BZ2_bzopen(const char *path, const char *mode)
unsigned int total_out_hi32
Definition: bzlib.h:58
BZ_EXTERN void BZ_API() BZ2_bzReadClose(int *bzerror, BZFILE *b)
BZ_EXTERN int BZ_API() BZ2_bzRead(int *bzerror, BZFILE *b, void *buf, int len)
unsigned int total_in_lo32
Definition: bzlib.h:52
BZ_EXTERN BZFILE *BZ_API() BZ2_bzWriteOpen(int *bzerror, FILE *f, int blockSize100k, int verbosity, int workFactor)
unsigned int total_out_lo32
Definition: bzlib.h:57
#define BZ_EXTERN
Definition: bzlib.h:94
BZ_EXTERN void BZ_API() BZ2_bzclose(BZFILE *b)
BZ_EXTERN void BZ_API() BZ2_bzReadGetUnused(int *bzerror, BZFILE *b, void **unused, int *nUnused)
BZ_EXTERN int BZ_API() BZ2_bzDecompressEnd(bz_stream *strm)
BZ_EXTERN int BZ_API() BZ2_bzCompressEnd(bz_stream *strm)
BZ_EXTERN int BZ_API() BZ2_bzBuffToBuffDecompress(char *dest, unsigned int *destLen, char *source, unsigned int sourceLen, int small, int verbosity)
void * state
Definition: bzlib.h:60
BZ_EXTERN int BZ_API() BZ2_bzflush(BZFILE *b)
BZ_EXTERN int BZ_API() BZ2_bzDecompress(bz_stream *strm)
BZ_EXTERN int BZ_API() BZ2_bzCompressInit(bz_stream *strm, int blockSize100k, int verbosity, int workFactor)
BZ_EXTERN int BZ_API() BZ2_bzread(BZFILE *b, void *buf, int len)
BZ_EXTERN void BZ_API() BZ2_bzWriteClose(int *bzerror, BZFILE *b, int abandon, unsigned int *nbytes_in, unsigned int *nbytes_out)
BZ_EXTERN int BZ_API() BZ2_bzDecompressInit(bz_stream *strm, int verbosity, int small)
BZ_EXTERN int BZ_API() BZ2_bzwrite(BZFILE *b, void *buf, int len)
unsigned int avail_out
Definition: bzlib.h:56
void * opaque
Definition: bzlib.h:64
BZ_EXTERN int BZ_API() BZ2_bzBuffToBuffCompress(char *dest, unsigned int *destLen, char *source, unsigned int sourceLen, int blockSize100k, int verbosity, int workFactor)
BZ_EXTERN BZFILE *BZ_API() BZ2_bzReadOpen(int *bzerror, FILE *f, int verbosity, int small, void *unused, int nUnused)
char * next_out
Definition: bzlib.h:55
void BZFILE
Definition: bzlib.h:137
BZ_EXTERN int BZ_API() BZ2_bzCompress(bz_stream *strm, int action)
BZ_EXTERN void BZ_API() BZ2_bzWriteClose64(int *bzerror, BZFILE *b, int abandon, unsigned int *nbytes_in_lo32, unsigned int *nbytes_in_hi32, unsigned int *nbytes_out_lo32, unsigned int *nbytes_out_hi32)
char * next_in
Definition: bzlib.h:50
BZ_EXTERN const char *BZ_API() BZ2_bzlibVersion(void)