| taskrambler
    0.1.9
    Web server and task management solution. | 
#include <unistd.h>#include <sys/stat.h>#include <sys/types.h>#include <fcntl.h>#include <stdio.h>#include "hash.h"#include "class.h"#include "commons.h" Include dependency graph for mime_type.c:
 Include dependency graph for mime_type.c:Go to the source code of this file.
| Functions | |
| void | readMimeTypes (void) | 
| char * | getMimeType (const char *ext, size_t len) | 
| void | clearMimeTypes (void) | 
| Variables | |
| Hash | mime_types = NULL | 
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file mime_type.c.
| void clearMimeTypes | ( | void | ) | 
Definition at line 106 of file mime_type.c.
References mime_types.
Referenced by main().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| char* getMimeType | ( | const char * | ext, | 
| size_t | len | ||
| ) | 
Definition at line 84 of file mime_type.c.
References hashGet(), mime_types, and readMimeTypes().
Referenced by assetCtor(), and httpWorkerProcess().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void readMimeTypes | ( | void | ) | 
Definition at line 39 of file mime_type.c.
References hashAdd(), and mime_types.
Referenced by getMimeType().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| Hash mime_types = NULL | 
Definition at line 36 of file mime_type.c.
Referenced by clearMimeTypes(), getMimeType(), and readMimeTypes().