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

#include "iostream-rawlog.h"

struct ostream *
o_stream_create_rawlog(struct ostream *output, const char *rawlog_path,
		       int rawlog_fd, enum iostream_rawlog_flags flags);
struct ostream *
o_stream_create_rawlog_from_stream(struct ostream *output,
				   struct ostream *rawlog_output,
				   enum iostream_rawlog_flags flags);

#endif