summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/luapplib/src/util/utilflate.h
blob: 09bdd6661128248ea792cdd58032f1e65731b836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef UTIL_FLATE_H
#define UTIL_FLATE_H

#include "utiliof.h"

typedef struct flate_state flate_state;

flate_state * flate_decoder_init (flate_state *state);
flate_state * flate_encoder_init (flate_state *state);

iof_status flate_decode_state (iof *I, iof *O, flate_state *state);
iof_status flate_encode_state (iof *I, iof *O, flate_state *state);

void flate_decoder_close (flate_state *state);
void flate_encoder_close (flate_state *state);

iof * iof_filter_flate_decoder (iof *N);
iof * iof_filter_flate_encoder (iof *N);


#endif