summaryrefslogtreecommitdiff
path: root/option.h
diff options
context:
space:
mode:
Diffstat (limited to 'option.h')
-rw-r--r--option.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/option.h b/option.h
index 33b54933..943d5193 100644
--- a/option.h
+++ b/option.h
@@ -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; \