| 1 |
#ifndef UTIL_FLATE_H |
| 2 |
#define UTIL_FLATE_H |
| 3 |
|
| 4 |
#include "utiliof.h" |
| 5 |
|
| 6 |
typedef struct flate_state flate_state; |
| 7 |
|
| 8 |
flate_state * flate_decoder_init (flate_state *state); |
| 9 |
flate_state * flate_encoder_init (flate_state *state); |
| 10 |
|
| 11 |
iof_status flate_decode_state (iof *I, iof *O, flate_state *state); |
| 12 |
iof_status flate_encode_state (iof *I, iof *O, flate_state *state); |
| 13 |
|
| 14 |
void flate_decoder_close (flate_state *state); |
| 15 |
void flate_encoder_close (flate_state *state); |
| 16 |
|
| 17 |
iof * iof_filter_flate_decoder (iof *N); |
| 18 |
iof * iof_filter_flate_encoder (iof *N); |
| 19 |
|
| 20 |
|
| 21 |
#endif |