From 0a8b36de3f32f360ffdfc7c6d2e07b11345c7a1d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 16 Feb 2006 01:01:38 +0000 Subject: Made several changes to the parsing infrastructure to allow passing the "config_t" object around. This is needed for parsing option settings in the initialization file. --- xml.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'xml.cc') diff --git a/xml.cc b/xml.cc index 380416ed..6e3007b8 100644 --- a/xml.cc +++ b/xml.cc @@ -175,10 +175,11 @@ bool xml_parser_t::test(std::istream& in) const return true; } -unsigned int xml_parser_t::parse(std::istream& in, - journal_t * journal, - account_t * master, - const std::string * original_file) +unsigned int xml_parser_t::parse(std::istream& in, + config_t& config, + journal_t * journal, + account_t * master, + const std::string * original_file) { char buf[BUFSIZ]; -- cgit v1.2.3