Mercurial > dovecot > core-2.2
view src/lib/istream-hash.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 | f73c388ad360 |
children |
line wrap: on
line source
#ifndef ISTREAM_HASH_H #define ISTREAM_HASH_H struct hash_method; /* hash_context must be allocated and initialized by caller. This istream will simply call method->loop() for all the data going through the istream. */ struct istream * i_stream_create_hash(struct istream *input, const struct hash_method *method, void *hash_context); #endif