summaryrefslogtreecommitdiffstats
path: root/src/lib/istream-rawlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/istream-rawlog.h')
-rw-r--r--src/lib/istream-rawlog.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/istream-rawlog.h b/src/lib/istream-rawlog.h
new file mode 100644
index 0000000..4126f23
--- /dev/null
+++ b/src/lib/istream-rawlog.h
@@ -0,0 +1,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