From f5c83d7b5ddceb03e1c6bda2e43c48500c7da9f5 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 14 Aug 2015 16:50:56 +0200 Subject: move get_mimetype_from_file() to shared Signed-off-by: Christian Hesse --- cgit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index f327627..0f1e186 100644 --- 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 *get_mimetype_from_file(const char *filename, const char *ext); + #endif /* CGIT_H */ -- cgit v1.2.3-59-g8ed1b