Mercurial > dovecot > core-2.2
view src/lib-compression/istream-zlib.h @ 22638:7d5634889da8
lib: net_ip2addr() - Optimize by allocating destination memory immediately
It doesn't really matter if we allocate a few extra bytes.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sat, 04 Nov 2017 01:42:37 +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