view src/lib/ostream-multiplex.h @ 23007:36e01285b5b8

lib: buffer - Improve header comment for buffer_insert() and buffer_delete().
author Stephan Bosch <stephan.bosch@dovecot.fi>
date Mon, 18 Mar 2019 00:52:37 +0100
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