summaryrefslogtreecommitdiff
path: root/language.h
diff options
context:
space:
mode:
Diffstat (limited to 'language.h')
-rw-r--r--language.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/language.h b/language.h
new file mode 100644
index 0000000..ebfb8bb
--- /dev/null
+++ b/language.h
@@ -0,0 +1,12 @@
+#ifndef CCACHE_LANGUAGE_H
+#define CCACHE_LANGUAGE_H
+
+#include <stdbool.h>
+
+const char *language_for_file(const char *fname);
+const char *p_language_for_language(const char *language);
+const char *extension_for_language(const char *language);
+bool language_is_supported(const char *language);
+bool language_is_preprocessed(const char *language);
+
+#endif // CCACHE_LANGUAGE_H