| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
#ifndef MZ_STREAM_BZIP_H |
| 12 |
#define MZ_STREAM_BZIP_H |
| 13 |
|
| 14 |
#ifdef __cplusplus |
| 15 |
extern "C" { |
| 16 |
#endif |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
int32_t mz_stream_bzip_open(void *stream, const char *filename, int32_t mode); |
| 21 |
int32_t mz_stream_bzip_is_open(void *stream); |
| 22 |
int32_t mz_stream_bzip_read(void *stream, void *buf, int32_t size); |
| 23 |
int32_t mz_stream_bzip_write(void *stream, const void *buf, int32_t size); |
| 24 |
int64_t mz_stream_bzip_tell(void *stream); |
| 25 |
int32_t mz_stream_bzip_seek(void *stream, int64_t offset, int32_t origin); |
| 26 |
int32_t mz_stream_bzip_close(void *stream); |
| 27 |
int32_t mz_stream_bzip_error(void *stream); |
| 28 |
|
| 29 |
int32_t mz_stream_bzip_get_prop_int64(void *stream, int32_t prop, int64_t *value); |
| 30 |
int32_t mz_stream_bzip_set_prop_int64(void *stream, int32_t prop, int64_t value); |
| 31 |
|
| 32 |
void *mz_stream_bzip_create(void); |
| 33 |
void mz_stream_bzip_delete(void **stream); |
| 34 |
|
| 35 |
void *mz_stream_bzip_get_interface(void); |
| 36 |
|
| 37 |
void bz_internal_error(int errcode); |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
#ifdef __cplusplus |
| 42 |
} |
| 43 |
#endif |
| 44 |
|
| 45 |
#endif |