tinywebd
diff src/mime.h @ 6:4f191dbfac7e
commited a bunch of missing files from previous commits
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 17 Apr 2015 01:57:25 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/mime.h Fri Apr 17 01:57:25 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_ */