summaryrefslogtreecommitdiff
path: root/compopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'compopt.h')
-rw-r--r--compopt.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/compopt.h b/compopt.h
new file mode 100644
index 0000000..d72639f
--- /dev/null
+++ b/compopt.h
@@ -0,0 +1,15 @@
+#ifndef CCACHE_COMPOPT_H
+#define CCACHE_COMPOPT_H
+
+#include "system.h"
+
+bool compopt_short(bool (*fn)(const char *option), const char *option);
+bool compopt_affects_cpp(const char *option);
+bool compopt_too_hard(const char *option);
+bool compopt_too_hard_for_direct_mode(const char *option);
+bool compopt_takes_path(const char *option);
+bool compopt_takes_arg(const char *option);
+bool compopt_takes_concat_arg(const char *option);
+bool compopt_prefix_affects_cpp(const char *option);
+
+#endif // CCACHE_COMPOPT_H