summaryrefslogtreecommitdiff
path: root/binary.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-22 02:23:45 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-22 02:23:45 -0400
commit4bc29e1351faeba56cbfc1146fa1af33eba15f9d (patch)
tree0b7102725c562816a1fc7367601e0026bf3b2bac /binary.h
parente41dbc204a5269d89b8909546d44927a58e29675 (diff)
downloadfork-ledger-4bc29e1351faeba56cbfc1146fa1af33eba15f9d.tar.gz
fork-ledger-4bc29e1351faeba56cbfc1146fa1af33eba15f9d.tar.bz2
fork-ledger-4bc29e1351faeba56cbfc1146fa1af33eba15f9d.zip
A great deal of reorganization to restore the old parsing code (since the
newer XML stuff was pulled).
Diffstat (limited to 'binary.h')
-rw-r--r--binary.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/binary.h b/binary.h
index 6a9b73ac..42c2387f 100644
--- a/binary.h
+++ b/binary.h
@@ -272,7 +272,7 @@ inline void write_object(std::ostream& out, const T& journal) {
assert(false);
}
-void write_journal(std::ostream& out, journal_t * journal);
+void write_journal(std::ostream& out, journal_t& journal);
} // namespace binary
@@ -282,8 +282,8 @@ class binary_parser_t : public parser_t
virtual bool test(std::istream& in) const;
virtual unsigned int parse(std::istream& in,
- config_t& config,
- journal_t * journal,
+ session_t& session,
+ journal_t& journal,
account_t * master = NULL,
const path * original_file = NULL);
};