#ifndef IOSTREAM_RAWLOG_PRIVATE_H
#define IOSTREAM_RAWLOG_PRIVATE_H
-#define IOSTREAM_RAWLOG_MAX_PREFIX_LEN 3
+#include "iostream-rawlog.h"
-enum iostream_rawlog_flags {
- IOSTREAM_RAWLOG_FLAG_AUTOCLOSE = 0x01,
- IOSTREAM_RAWLOG_FLAG_BUFFERED = 0x02,
- IOSTREAM_RAWLOG_FLAG_TIMESTAMP = 0x04
-};
+#define IOSTREAM_RAWLOG_MAX_PREFIX_LEN 3
struct rawlog_iostream {
struct iostream_private *iostream;
#ifndef IOSTREAM_RAWLOG_H
#define IOSTREAM_RAWLOG_H
+enum iostream_rawlog_flags {
+ IOSTREAM_RAWLOG_FLAG_AUTOCLOSE = 0x01,
+ IOSTREAM_RAWLOG_FLAG_BUFFERED = 0x02,
+ IOSTREAM_RAWLOG_FLAG_TIMESTAMP = 0x04
+};
+
/* Create rawlog *.in and *.out files to the given directory. */
int ATTR_NOWARN_UNUSED_RESULT
iostream_rawlog_create(const char *dir, struct istream **input,