BRL-CAD
#include "common.h"
#include "bu/defines.h"
#include "bu/mime_types.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 bu_file_mime (const char *ext, bu_mime_context_t context)
 Use the file extension to attempt to determine the media type of the file within the specified context. More...
 
const char * bu_file_mime_ext (int t, bu_mime_context_t context)
 Given a mime type and a context, return the file extension(s) associated with that type. More...
 
const char * bu_file_mime_str (int t, bu_mime_context_t context)
 Given a mime type and a context, return a human readable string spelling out the type (corresponding to the enum string in source code.) More...
 
int bu_file_mime_int (const char *str)
 Given a string produced by bu_file_mime_str, convert it back into integer form. More...