#include <io.h>#include <fcntl.h>#include <time.h>#include <sys/stat.h>#include <isc/list.h>#include <pro/rfctime.h>#include <pro/uhttp/uhttpd.h>#include <pro/uhttp/streamio.h>#include <pro/uhttp/modules/mod_ssi.h>#include <pro/uhttp/mediatypes.h>#include <stdlib.h>#include <string.h>Functions | |
| ISC_LIST (MEDIA_TYPE_ENTRY) | |
| MEDIA_TYPE_ENTRY * | GetMediaTypeEntry (char *name) |
| Retrieve the media type entry for a given file name. | |
| int | MediaTypeHandlerBinary (HTTPD_SESSION *hs, const MEDIA_TYPE_ENTRY *mt, const char *filepath) |
| Default handler for binary files. | |
| int | MediaTypeHandlerText (HTTPD_SESSION *hs, const MEDIA_TYPE_ENTRY *mt, const char *filepath) |
| Default handler for text files. | |
| ISC_LIST | ( | MEDIA_TYPE_ENTRY | ) |
$Id$
References ISC_LIST_HEAD, ISC_LIST_NEXT, _MEDIATYPE::media_ext, NULL, and strcasecmp.