summaryrefslogtreecommitdiff
path: root/language.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-02-17 21:28:53 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-02-17 21:28:53 +0000
commit189d7eb970b025c570c7ccce916759083373bdde (patch)
treef4f7c3a71ecc7851a8a7b86206bbb202b5cab551 /language.h
downloadccache-tarball-master.tar.gz
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