tinywebd
diff libtinyweb/src/mime.h @ 10:0dd50a23f3dd
separated all the tinyweb functionality out as a library
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 18 Apr 2015 22:47:57 +0300 |
parents | src/mime.h@4f191dbfac7e |
children | 86f703031228 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libtinyweb/src/mime.h Sat Apr 18 22:47:57 2015 +0300 1.3 @@ -0,0 +1,7 @@ 1.4 +#ifndef MIME_H_ 1.5 +#define MIME_H_ 1.6 + 1.7 +int add_mime_type(const char *suffix, const char *type); 1.8 +const char *mime_type(const char *path); 1.9 + 1.10 +#endif /* MIME_H_ */