summaryrefslogtreecommitdiff
path: root/binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'binary.h')
-rw-r--r--binary.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/binary.h b/binary.h
index 864c6ea2..0a8e1520 100644
--- a/binary.h
+++ b/binary.h
@@ -32,7 +32,12 @@
#ifndef BINARY_H
#define BINARY_H
+#include "parser.h"
+
namespace ledger {
+
+class journal_t;
+
namespace binary {
template <typename T>
@@ -263,6 +268,8 @@ inline void write_object(std::ostream& out, const T& journal) {
assert(false);
}
+void write_journal(std::ostream& out, journal_t * journal);
+
} // namespace binary
} // namespace ledger