summaryrefslogtreecommitdiff
path: root/src/journal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal.h')
-rw-r--r--src/journal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/journal.h b/src/journal.h
index 60d703e6..e2af0dde 100644
--- a/src/journal.h
+++ b/src/journal.h
@@ -126,8 +126,12 @@ public:
hooks_t<xact_finalizer_t, xact_t> xact_finalize_hooks;
journal_t();
+ journal_t(const path& pathname);
+ journal_t(const string& str);
~journal_t();
+ void initialize();
+
std::list<fileinfo_t>::iterator sources_begin() {
return sources.begin();
}
@@ -171,6 +175,14 @@ public:
xact_finalize_hooks.remove_hook(finalizer);
}
+ std::size_t read(std::istream& in,
+ const path& pathname,
+ account_t * master = NULL,
+ scope_t * scope = NULL);
+ std::size_t read(const path& pathname,
+ account_t * master = NULL,
+ scope_t * scope = NULL);
+
std::size_t parse(std::istream& in,
scope_t& session_scope,
account_t * master = NULL,