1 #ifndef LIBRARIES_BZ2_H
2 #define LIBRARIES_BZ2_H
15 #define BZ_FINISH_OK 3
16 #define BZ_STREAM_END 4
17 #define BZ_SEQUENCE_ERROR (-1)
18 #define BZ_PARAM_ERROR (-2)
19 #define BZ_MEM_ERROR (-3)
20 #define BZ_DATA_ERROR (-4)
21 #define BZ_DATA_ERROR_MAGIC (-5)
22 #define BZ_IO_ERROR (-6)
23 #define BZ_UNEXPECTED_EOF (-7)
24 #define BZ_OUTBUFF_FULL (-8)
25 #define BZ_CONFIG_ERROR (-9)
30 unsigned int avail_in
;
31 unsigned int total_in_lo32
;
32 unsigned int total_in_hi32
;
35 unsigned int avail_out
;
36 unsigned int total_out_lo32
;
37 unsigned int total_out_hi32
;
41 void *(*bzalloc
)(void *,int,int);
42 void (*bzfree
)(void *,void *);