Lines Matching defs:ostream
5 #include "ostream-private.h"
6 #include "ostream-dot.h"
17 struct ostream_private ostream;
71 o_stream_close(dstream->ostream.parent);
210 stream->ostream.offset += sent;
214 struct ostream *
215 o_stream_create_dot(struct ostream *output, bool force_extra_crlf)
220 dstream->ostream.sendv = o_stream_dot_sendv;
221 dstream->ostream.iostream.close = o_stream_dot_close;
222 dstream->ostream.flush = o_stream_dot_flush;
223 dstream->ostream.max_buffer_size = output->real_stream->max_buffer_size;
225 (void)o_stream_create(&dstream->ostream, output, o_stream_get_fd(output));
226 /* ostream-dot is always used inside another ostream that shouldn't
229 o_stream_set_finish_also_parent(&dstream->ostream.ostream, FALSE);
230 return &dstream->ostream.ostream;