Checks if a content type can be executable. Note that for instance things like text files can be executables (i.e. scripts and batch files).
Gets a list of strings containing all the registered content types known to the system. The list and its data should be freed using g_list_free_full (list, g_free).
Compares two content types for equality.
Tries to find a content type based on the mime type name.
Gets the human readable description of the content type.
Gets the generic icon name for a content type.
Gets the icon for a content type.
Get the list of directories which MIME data is loaded from. See g_content_type_set_mime_dirs() for details.
Gets the mime type for the content type, if one is registered.
Gets the symbolic icon for a content type.
Tries to guess the type of the tree with root root, by looking at the files it contains. The result is an array of content types, with the best guess coming first.
Determines if type is a subset of supertype.
Determines if type is a subset of mime_type. Convenience wrapper around g_content_type_is_a().
Checks if the content type is the generic "unknown" type. On UNIX this is the "application/octet-stream" mimetype, while on win32 it is "*" and on OSX it is a dynamic type or octet-stream.
Set the list of directories used by GIO to load the MIME database. If dirs is NULL, the directories used are the default:
Guesses the content type based on example data. If the function is uncertain, result_uncertain will be set to TRUE. Either filename or data may be NULL, in which case the guess will be based solely on the other argument.