Lines Matching defs:ostream
6 #include "ostream-private.h"
7 #include "ostream-multiplex.h"
14 struct ostream_private ostream;
23 struct ostream *parent;
52 (*channelp)->ostream.ostream.stream_errno = stream_errno;
121 stream->ostream.offset += total;
161 o_stream_unref(&channel->ostream.parent);
174 static struct ostream *
181 channel->ostream.sendv = o_stream_multiplex_ochannel_sendv;
182 channel->ostream.iostream.close = o_stream_multiplex_ochannel_close;
183 channel->ostream.iostream.destroy = o_stream_multiplex_ochannel_destroy;
184 channel->ostream.fd = o_stream_get_fd(mstream->parent);
187 return o_stream_create(&channel->ostream, mstream->parent,
191 struct ostream *o_stream_multiplex_add_channel(struct ostream *stream, uint8_t cid)
200 struct ostream *o_stream_create_multiplex(struct ostream *parent, size_t bufsize)
214 uint8_t o_stream_multiplex_get_channel_id(struct ostream *stream)