Mercurial > dovecot > core-2.2
view src/lib/ostream-hash.h @ 22636:96e51a11c0aa
lib: Implement t_strsplit_tabescaped_inplace()
This is a more efficient version of t_strsplit_tabescaped(), which modifies
the input string instead of duplicating it.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sat, 04 Nov 2017 01:39:38 +0200 |
parents | 63edc752479d |
children |
line wrap: on
line source
#ifndef OSTREAM_HASH_H #define OSTREAM_HASH_H struct hash_method; /* hash_context must be allocated and initialized by caller. This ostream will simply call method->loop() for all the data going through the ostream. */ struct ostream * o_stream_create_hash(struct ostream *output, const struct hash_method *method, void *hash_context); #endif