Home
last modified time | relevance | path

Searched refs:mime_magic (Results 1 – 2 of 2) sorted by relevance

/third_party/glib/gio/xdgmime/
Dxdgmimemagic.c602 _xdg_mime_magic_insert_match (XdgMimeMagic *mime_magic, in _xdg_mime_magic_insert_match() argument
607 if (mime_magic->match_list == NULL) in _xdg_mime_magic_insert_match()
609 mime_magic->match_list = match; in _xdg_mime_magic_insert_match()
613 if (match->priority > mime_magic->match_list->priority) in _xdg_mime_magic_insert_match()
615 match->next = mime_magic->match_list; in _xdg_mime_magic_insert_match()
616 mime_magic->match_list = match; in _xdg_mime_magic_insert_match()
620 list = mime_magic->match_list; in _xdg_mime_magic_insert_match()
642 _xdg_mime_magic_free (XdgMimeMagic *mime_magic) in _xdg_mime_magic_free() argument
644 if (mime_magic) { in _xdg_mime_magic_free()
645 _xdg_mime_magic_match_free (mime_magic->match_list); in _xdg_mime_magic_free()
[all …]
Dxdgmimemagic.h44 void _xdg_mime_magic_read_from_file (XdgMimeMagic *mime_magic,
46 void _xdg_mime_magic_free (XdgMimeMagic *mime_magic);
47 int _xdg_mime_magic_get_buffer_extents (XdgMimeMagic *mime_magic);
48 const char *_xdg_mime_magic_lookup_data (XdgMimeMagic *mime_magic,