view src/lib-compression/istream-zlib.h @ 19604:c996bc091c6b

master: Do not close stdout if going foreground This lets one to use /dev/stdout for logging. Mainly useful for testing purposes where we can generate log output to stdout and use tee to write it to a file for later examination.
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Mon, 18 Jan 2016 15:50:23 +0200
parents fb4a0a84da50
children
line wrap: on
line source

#ifndef ISTREAM_ZLIB_H
#define ISTREAM_ZLIB_H

struct istream *i_stream_create_gz(struct istream *input, bool log_errors);
struct istream *i_stream_create_deflate(struct istream *input, bool log_errors);
struct istream *i_stream_create_bz2(struct istream *input, bool log_errors);
struct istream *i_stream_create_lzma(struct istream *input, bool log_errors);
struct istream *i_stream_create_lz4(struct istream *input, bool log_errors);

#endif