GATE
zlibstreams.h File Reference

ZLIB and GZIP format encoding/decoding. More...

Macros

#define GATE_ZLIB_COMPRESSION_DEFAULT   0
 
#define GATE_ZLIB_COMPRESSION_MINIMUM   1
 
#define GATE_ZLIB_COMPRESSION_LOW   3
 
#define GATE_ZLIB_COMPRESSION_MEDIUM   5
 
#define GATE_ZLIB_COMPRESSION_HIGH   7
 
#define GATE_ZLIB_COMPRESSION_MAXIMUM   9
 

Functions

GATE_ENCODE_API gate_result_t gate_zlib_encoder_create (gate_stream_t *output, gate_bool_t gzformat, gate_int16_t compression, gate_stream_t **ptr2streamptr)
 
GATE_ENCODE_API gate_result_t gate_zlib_decoder_create (gate_stream_t *input, gate_bool_t gzformat, gate_stream_t **ptr2streamptr)
 

Detailed Description

ZLIB and GZIP format encoding/decoding.