NetSurf
|
Go to the source code of this file.
Functions | |
void | monkey_fetch_filetype_init (const char *mimefile) |
void | monkey_fetch_filetype_fin (void) |
const char * | monkey_fetch_filetype (const char *unix_path) |
Determine the MIME type of a local file. More... | |
const char * monkey_fetch_filetype | ( | const char * | unix_path | ) |
Determine the MIME type of a local file.
unix_path | Unix style path to file on disk |
Definition at line 182 of file filetype.c.
References ascii_to_lower(), hash_get(), mime_hash, and type.
void monkey_fetch_filetype_fin | ( | void | ) |
Definition at line 168 of file filetype.c.
References hash_destroy(), and mime_hash.
Referenced by monkey_quit().
void monkey_fetch_filetype_init | ( | const char * | mimefile | ) |
Definition at line 54 of file filetype.c.
References ascii_is_space(), hash_add(), hash_create(), HASH_SIZE, line(), MAX_LINE_LEN, mime_hash, NSLOG, and type.
Referenced by main().