BRL-CAD
|
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... | |