tinywebd

view libtinyweb/src/mime.h @ 17:2874f61a43b1

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