summaryrefslogtreecommitdiff
path: root/src/mime_types.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mime_types.hh')
-rw-r--r--src/mime_types.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mime_types.hh b/src/mime_types.hh
new file mode 100644
index 0000000..c68a7f9
--- /dev/null
+++ b/src/mime_types.hh
@@ -0,0 +1,12 @@
+#ifndef MIME_TYPES_HH
+#define MIME_TYPES_HH
+
+#include <string_view>
+
+namespace mime_types {
+
+std::string_view from_extension(std::string_view ext);
+
+} // namespace mime_types
+
+#endif // MIME_TYPES_HH