summaryrefslogtreecommitdiff
path: root/ledger.h
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.h')
-rw-r--r--ledger.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ledger.h b/ledger.h
index 9d34316b..8a781c53 100644
--- a/ledger.h
+++ b/ledger.h
@@ -165,7 +165,8 @@ inline std::ostream& operator<<(std::ostream& out, const account_t& acct) {
}
-typedef std::list<entry_t *> entries_list;
+typedef std::list<entry_t *> entries_list;
+typedef std::list<std::string> strings_list;
class journal_t
{
@@ -208,7 +209,8 @@ class journal_t
bool add_entry(entry_t * entry);
bool remove_entry(entry_t * entry);
- entry_t * derive_entry(int argc, char **argv) const;
+ entry_t * derive_entry(strings_list::iterator begin,
+ strings_list::iterator end) const;
};
int parse_journal_file(char * p, journal_t * journal);