| Top |
| void | zeitgeist_register_mimetype () |
| void | zeitgeist_register_mimetype_regex () |
| const gchar * | zeitgeist_interpretation_for_mimetype () |
| void | zeitgeist_register_uri_scheme () |
| const gchar * | zeitgeist_manifestation_for_uri () |
void zeitgeist_register_mimetype (const gchar *mimetype,const gchar *interpretation_uri);
zeitgeist_register_mimetype:
Associate a MIME-type with a given interpretation type. Registered MIME-types can be looked up with zeitgeist_interpretation_for_mimetype().
You can register a regular expression as mimetype if instead of this function you invoke zeitgeist_register_mimetype_regex().
MIME-types are first looked up by their exact name and then if none is found the regular expressions will be checked as fallbacks.
This library will install a wide range a common mimetypes for you, so unless you have very specific needs you will normally not have to call this function.
void zeitgeist_register_mimetype_regex (const gchar *mimetype_regex,const gchar *interpretation_uri);
zeitgeist_register_mimetype_regex:
Associate a range of MIME-types with a given interpretation type. Registered MIME-types can be looked up with zeitgeist_interpretation_for_mimetype().
If you only need to register one specific MIME-type, it is more efficient to use zeitgeist_register_mimetype() instead of this function.
MIME-types are first looked up by their exact name and then if none is found the regular expressions will be checked as fallbacks.
This library will install a wide range a common mimetypes for you, so unless you have very specific needs you will normally not have to call this function.
const gchar *
zeitgeist_interpretation_for_mimetype (const gchar *mimetype);
zeitgeist_interpretation_for_mimetype:
Look up the subject interpretation type associated with mimetype.
void zeitgeist_register_uri_scheme (const gchar *uri_scheme,const gchar *manifestation_type);
zeitgeist_register_uri_scheme:
Associate a URI scheme with a given subject manifestation type. You can find the manifestation type of a given URI by passing it to zeitgeist_manifestation_for_uri().
This library will install a range a common URI schemes for you, so unless you have very specific needs you will normally not have to call this function.