![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Media type of a file from its extension (see n_http_mime.h). More...
Go to the source code of this file.
Functions | |
| int | n_http_mime_table_check (void) |
| check that the built-in table is sorted, as its lookup requires | |
| const char * | n_http_mime_type (const char *path, size_t len) |
| media type for a path or file name, from its extension | |
Variables | |
| struct { | |
| const char * | ext |
| const char * | type |
| } | _mime_table [] |
Media type of a file from its extension (see n_http_mime.h).
Definition in file n_http_mime.c.
| const struct { ... } _mime_table[] |
Referenced by n_http_mime_table_check(), and n_http_mime_type().