tinywebd

annotate libtinyweb/src/mime.h @ 12:86f703031228

Attribution headers
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 19 Apr 2015 00:01:01 +0300
parents 0dd50a23f3dd
children
rev   line source
nuclear@12 1 /* tinyweb - tiny web server library and daemon
nuclear@12 2 * Author: John Tsiombikas <nuclear@member.fsf.org>
nuclear@12 3 *
nuclear@12 4 * This program is placed in the public domain. Feel free to use it any
nuclear@12 5 * way you like. Mentions and retaining this attribution header will be
nuclear@12 6 * appreciated, but not required.
nuclear@12 7 */
nuclear@6 8 #ifndef MIME_H_
nuclear@6 9 #define MIME_H_
nuclear@6 10
nuclear@6 11 int add_mime_type(const char *suffix, const char *type);
nuclear@6 12 const char *mime_type(const char *path);
nuclear@6 13
nuclear@6 14 #endif /* MIME_H_ */