]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
move get_mimetype_from_file() to shared
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index f3276276fe2c258ae802d8c0351422affb1f468d..0f1e18626e9d2d134fd593b696b1a5fe4a7daccd 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -391,4 +391,6 @@ extern int readfile(const char *path, char **buf, size_t *size);
 
 extern char *expand_macros(const char *txt);
 
 
 extern char *expand_macros(const char *txt);
 
+extern char *get_mimetype_from_file(const char *filename, const char *ext);
+
 #endif /* CGIT_H */
 #endif /* CGIT_H */