#include "gi_path.h"
Go to the source code of this file.
Functions | |
| EXTERN_C_BEGIN LIBGIFT_EXPORT bool | gi_mime_load (const char *mime_types, const char *mime_magic) |
| LIBGIFT_EXPORT void | gi_mime_unload (void) |
| LIBGIFT_EXPORT char * | gi_mime_get (GiPath *gipath) |
| LIBGIFT_EXPORT char * | gi_mime_lookup (const char *mime) |
This system is also capable of using libmagic to access sophisticated magic databases.
|
|
Attempt to determine the MIME type of the file described by `gipath'. If this process fails, a safe fallback will be returned instead of NULL.
|
|
||||||||||||
|
Initialize the internal MIME table(s).
|
|
|
Access the internally managed MIME type buffer that matches the supplied MIME type. If no match is found, a new type will be added and the newly allocated buffer will be returned. |
1.3.7