summaryrefslogtreecommitdiff
path: root/src/journal.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-02-26 16:06:52 -0600
committerJohn Wiegley <johnw@newartisans.com>2014-02-26 16:06:52 -0600
commiteddd03ed096fc97a9b4f252ebbef0dae84410240 (patch)
tree0e8ec4c444700fd996eefead32455ec7086bff08 /src/journal.h
parentbc08eed3cb1bdb4f67d1b77273f3254d0cf13be2 (diff)
parent75b0a5d8ff22abeac8c4f502154159f998ffbe99 (diff)
downloadfork-ledger-eddd03ed096fc97a9b4f252ebbef0dae84410240.tar.gz
fork-ledger-eddd03ed096fc97a9b4f252ebbef0dae84410240.tar.bz2
fork-ledger-eddd03ed096fc97a9b4f252ebbef0dae84410240.zip
Merge pull request #247 from ecraven/master
Adding support for recursive aliases.
Diffstat (limited to 'src/journal.h')
-rw-r--r--src/journal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/journal.h b/src/journal.h
index 0d06e9f0..270a2912 100644
--- a/src/journal.h
+++ b/src/journal.h
@@ -131,6 +131,7 @@ public:
bool force_checking;
bool check_payees;
bool day_break;
+ bool recursive_aliases;
payee_mappings_t payee_mappings;
account_mappings_t account_mappings;
accounts_map account_aliases;
@@ -167,6 +168,8 @@ public:
account_t * find_account(const string& name, bool auto_create = true);
account_t * find_account_re(const string& regexp);
+ account_t * expand_aliases(string name);
+
account_t * register_account(const string& name, post_t * post,
account_t * master = NULL);
string register_payee(const string& name, xact_t * xact);