view src/lib/ostream-multiplex.h @ 23017:c1d36f2575c7 default tip

lib-imap: Fix "Don't accept strings with NULs" cherry-pick
author Timo Sirainen <timo.sirainen@open-xchange.com>
date Thu, 29 Aug 2019 09:55:25 +0300
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