From a5aff9eee967adb8c71ce6fc25db0458d522836e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 24 Mar 2006 16:37:26 +0000 Subject: Several fixes to lot price handling. --- option.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'option.h') diff --git a/option.h b/option.h index 75990d1b..da1a6395 100644 --- a/option.h +++ b/option.h @@ -30,4 +30,24 @@ void process_arguments(option_t * options, int argc, char ** argv, void process_environment(option_t * options, char ** envp, const std::string& tag); +namespace ledger { + +class config_t; +class report_t; + +extern config_t * config; +extern report_t * report; + +#define CONFIG_OPTIONS_SIZE 94 +extern option_t config_options[CONFIG_OPTIONS_SIZE]; + +void option_help(std::ostream& out); + +#define OPT_BEGIN(tag, chars) \ + void opt_ ## tag(const char * optarg) + +#define OPT_END(tag) + +} // namespace ledger + #endif // _OPTION_H -- cgit v1.2.3