#include "common.h"
Include dependency graph for mime.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
int | mimeInit (const char *mime_types_file) |
initialise global MIME table. More... | |
char * | mimeLookup (const char *file_ext) |
look up the MIME type for a given file extension. More... | |
int | mimeTerminate () |
destroys the gobal MIME type table. More... |
Definition in file mime.h.
|
initialise global MIME table.
mimeInit reads the mime.types definition file and creates the global file extension to MIME type mapping table.
|
|
look up the MIME type for a given file extension.
Referenced by rhfGetContentType().
|
|
destroys the gobal MIME type table.
This destroys the global MIME type table and frees all of it's allocated ressources.
|