/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "istream.h"
#include "ostream-private.h"
#include "ostream-metawrap.h"
struct metawrap_ostream {
void (*write_callback)(void *);
void *context;
};
{
if (write_callback != NULL) {
/* metadata headers aren't counted as part of the offset */
}
}
static ssize_t
{
else
return ret;
}
static enum ostream_send_istream_result
{
(struct metawrap_ostream *)_outstream;
if ((res = o_stream_send_istream(_outstream->parent, instream)) == OSTREAM_SEND_ISTREAM_RESULT_ERROR_OUTPUT)
return res;
}
struct ostream *
void (*write_callback)(void *), void *context)
{
}