aboutsummaryrefslogtreecommitdiff
path: root/clocl/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'clocl/options.h')
-rw-r--r--clocl/options.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/clocl/options.h b/clocl/options.h
new file mode 100644
index 0000000..086e49c
--- /dev/null
+++ b/clocl/options.h
@@ -0,0 +1,24 @@
+#ifndef _OPTIONS_H_
+#define _OPTIONS_H_
+
+#include <string>
+
+extern int opt_help;
+extern int opt_verbose;
+extern int opt_keep;
+extern int opt_debug;
+extern int opt_lib;
+extern int opt_txt;
+extern int opt_w;
+extern int opt_Werror;
+extern int opt_builtin;
+
+extern std::string cl_options;
+extern std::string cl_incdef;
+extern std::vector<std::string> files_clc;
+extern std::vector<std::string> files_c;
+extern std::string files_other;
+
+void process_options(int argc, char **argv);
+
+#endif //_OPTIONS_H_