Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cgit.h
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-08-14 17:50:56 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2015-08-17 15:25:08 +0300
commitf5c83d7b5ddceb03e1c6bda2e43c48500c7da9f5 (patch)
tree7c14ef706458087fabc88ad307a70cdb22df367c /cgit.h
parent73ef8567f04c2dea8fbf83213b28e0cd1dff98f3 (diff)
move get_mimetype_from_file() to shared
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h2
1 files changed, 2 insertions, 0 deletions
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 */