Lines Matching defs:ostream
7 #include "ostream-private.h"
8 #include "ostream-zlib.h"
14 struct ostream_private ostream;
30 o_stream_close(zstream->ostream.parent);
43 ret = o_stream_send(zstream->ostream.parent,
46 o_stream_copy_error_from_parent(&zstream->ostream);
110 if ((ret = o_stream_flush_parent_if_needed(&zstream->ostream)) <= 0)
178 stream->ostream.offset += bytes;
186 struct ostream *o_stream_create_bz2(struct ostream *output, int level)
194 zstream->ostream.sendv = o_stream_bzlib_sendv;
195 zstream->ostream.flush = o_stream_bzlib_flush;
196 zstream->ostream.iostream.close = o_stream_bzlib_close;
215 return o_stream_create(&zstream->ostream, output,