Mercurial > dovecot > core-2.2
view src/lib-compression/istream-zlib.h @ 22325:e01bc3015b2f
lib-index: Check .log.2 rotation only when syncing
Instead of also whenever appending transactions to .log file. This
shouldn't change the behavior much, and it's needed for the following
change to work correctly.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Tue, 11 Jul 2017 15:33:56 +0300 |
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