istream-rawlog.c revision bcd286622779a93f809b11993db0550f8c7cc9b5
/* Copyright (c) 2011-2017 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ostream.h"
#include "iostream-rawlog-private.h"
#include "istream-private.h"
#include "istream-rawlog.h"
struct rawlog_istream {
struct istream_private istream;
struct rawlog_iostream riostream;
};
bool close_parent)
{
if (close_parent)
}
{
/* get to same position in parent stream */
}
}
{
ret = 0;
else do {
return -2;
else {
}
return ret;
}
struct istream *
{
struct ostream *rawlog_output;
}
struct istream *
struct ostream *rawlog_output,
enum iostream_rawlog_flags flags)
{
struct rawlog_istream *rstream;
i_stream_get_fd(input), 0);
}