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);
92 o_stream_get_name(&zstream->ostream.ostream));
95 o_stream_get_name(&zstream->ostream.ostream), ret);
116 if ((ret = o_stream_flush_parent_if_needed(&zstream->ostream)) <= 0)
133 o_stream_get_name(&zstream->ostream.ostream));
136 o_stream_get_name(&zstream->ostream.ostream), ret);
186 stream->ostream.offset += bytes;
194 struct ostream *o_stream_create_lzma(struct ostream *output, int level)
202 zstream->ostream.sendv = o_stream_lzma_sendv;
203 zstream->ostream.flush = o_stream_lzma_flush;
204 zstream->ostream.iostream.close = o_stream_lzma_close;
220 return o_stream_create(&zstream->ostream, output,