summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-14 17:34:48 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-14 17:34:48 -0400
commit0c890de44bfd33060c36c7b1f182079982232cf7 (patch)
treeaa64bc10c7c36d0900e3f34558f34353c1402ea1 /config.h
parentf2162bf7ee556c5d46a3a48a4d93bb892041b067 (diff)
downloadfork-ledger-0c890de44bfd33060c36c7b1f182079982232cf7.tar.gz
fork-ledger-0c890de44bfd33060c36c7b1f182079982232cf7.tar.bz2
fork-ledger-0c890de44bfd33060c36c7b1f182079982232cf7.zip
main.py now implements nearly all the functionality of main.cc
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h b/config.h
index d481757d..7f2a7707 100644
--- a/config.h
+++ b/config.h
@@ -6,6 +6,7 @@
#include "valexpr.h"
#include "datetime.h"
#include "format.h"
+#include "parser.h"
#include <iostream>
#include <memory>
@@ -84,6 +85,11 @@ extern std::list<option_t> config_options;
void option_help(std::ostream& out);
+// Parse what ledger data can be determined from the config settings
+void parse_ledger_data(journal_t * journal,
+ parser_t * text_parser,
+ parser_t * cache_parser = NULL);
+
struct declared_option_handler : public option_handler {
declared_option_handler(const std::string& label,
const std::string& opt_chars) {