summaryrefslogtreecommitdiffstats
path: root/src/lib/istream-rawlog.h
blob: 4126f23295072978de7f0dd6559ded00b2f8b88f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef ISTREAM_RAWLOG_H
#define ISTREAM_RAWLOG_H

#include "iostream-rawlog.h"

struct istream *
i_stream_create_rawlog(struct istream *input, const char *rawlog_path,
		       int rawlog_fd, enum iostream_rawlog_flags flags);
struct istream *
i_stream_create_rawlog_from_stream(struct istream *input,
				   struct ostream *rawlog_output,
				   enum iostream_rawlog_flags flags);

#endif