summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
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) {