diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-13 17:02:25 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-13 17:02:25 -0400 |
commit | 6944e5950a90b17d53a6efe87c71512085d4e1f7 (patch) | |
tree | edad327a21739b9fabd5ccc72f0d22d73bb5d791 /option.h | |
parent | 8a70bbed521662e76c1b3c42460743bb891c2deb (diff) | |
download | fork-ledger-6944e5950a90b17d53a6efe87c71512085d4e1f7.tar.gz fork-ledger-6944e5950a90b17d53a6efe87c71512085d4e1f7.tar.bz2 fork-ledger-6944e5950a90b17d53a6efe87c71512085d4e1f7.zip |
more options fixes
Diffstat (limited to 'option.h')
-rw-r--r-- | option.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,6 +2,7 @@ #define _OPTION_H #include <map> +#include <list> #include <vector> #include <string> @@ -34,8 +35,9 @@ struct option_handler { }; bool process_option(const std::string& opt, const char * arg = NULL); -void process_arguments(std::vector<char *>& args, int argc, char ** argv); -void process_environment(char ** envp); +void process_arguments(int argc, char ** argv, const bool anywhere, + std::list<std::string>& args); +void process_environment(char ** envp, const std::string& tag); #define DEF_OPT_HANDLERS() \ std::vector<option_t> option_handler::options; \ |