iostream-rawlog-private.h revision b367011da1a2ba3e9113dfbc601aaa4b6b04317d
#ifndef IOSTREAM_RAWLOG_PRIVATE_H
#define IOSTREAM_RAWLOG_PRIVATE_H
#define IOSTREAM_RAWLOG_MAX_PREFIX_LEN 3
enum iostream_rawlog_flags {
IOSTREAM_RAWLOG_FLAG_AUTOCLOSE = 0x01,
IOSTREAM_RAWLOG_FLAG_BUFFERED = 0x02,
};
struct rawlog_iostream {
struct iostream_private *iostream;
enum iostream_rawlog_flags flags;
char *rawlog_path;
int rawlog_fd;
bool input;
bool line_continued;
};
#endif