diff options
author | John Wiegley <johnw@newartisans.com> | 2006-03-24 16:37:26 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:31 -0400 |
commit | a5aff9eee967adb8c71ce6fc25db0458d522836e (patch) | |
tree | 1ab913955246a1ba0afd19d1f2fc776797a046d7 /option.h | |
parent | 44561c1c1d233d9432de319a71b44a3e05275d49 (diff) | |
download | fork-ledger-a5aff9eee967adb8c71ce6fc25db0458d522836e.tar.gz fork-ledger-a5aff9eee967adb8c71ce6fc25db0458d522836e.tar.bz2 fork-ledger-a5aff9eee967adb8c71ce6fc25db0458d522836e.zip |
Several fixes to lot price handling.
Diffstat (limited to 'option.h')
-rw-r--r-- | option.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 |