view src/lib/ostream-multiplex.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 7db517071db5
children
line wrap: on
line source

#ifndef OSTREAM_MULTIPLEX
#define OSTREAM_MULTIPLEX 1

struct ostream *o_stream_create_multiplex(struct ostream *parent, size_t bufsize);
struct ostream *o_stream_multiplex_add_channel(struct ostream *stream, uint8_t cid);
uint8_t o_stream_multiplex_get_channel_id(struct ostream *stream);

#endif