Home | History | Annotate | Download | only in xdg_mime

Lines Matching defs:mime_type

468   const char *mime_type;
475 mime_type = _xdg_mime_magic_lookup_data (global_magic, data, len, result_prio, NULL, 0);
477 if (mime_type)
478 return mime_type;
487 const char *mime_type;
550 mime_type = _xdg_mime_magic_lookup_data (global_magic, data, bytes_read, NULL,
556 if (mime_type)
557 return mime_type;
565 const char *mime_type;
572 if (_xdg_glob_hash_lookup_file_name (global_hash, file_name, &mime_type, 1))
573 return mime_type;
592 xdg_mime_is_valid_mime_type (const char *mime_type)
596 return _xdg_utf8_validate (mime_type);
675 _xdg_mime_unalias_mime_type (const char *mime_type)
680 return _xdg_mime_cache_unalias_mime_type (mime_type);
682 if ((lookup = _xdg_mime_alias_list_lookup (alias_list, mime_type)) != NULL)
685 return mime_type;
689 xdg_mime_unalias_mime_type (const char *mime_type)
693 mime_type);