summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-utils.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-06-26 13:31:16 +0100
committerRichard Hughes <richard@hughsie.com>2014-06-26 15:18:09 +0100
commitad5a6b7eeed8c602877a4dc9822165d226ac2d39 (patch)
tree7ffc008d56f724f34bc404e1605bf86ef2784f17 /libappstream-glib/as-utils.h
parent5636dfb4d5aba5fbd869fbfe58918cd9c3a0a3f2 (diff)
downloadappstream-glib-ad5a6b7eeed8c602877a4dc9822165d226ac2d39.tar.gz
Add as_utils_is_blacklisted_id()
This moves the data to libappstream-glib where we can use it to prevent parsing desktop files that should not be shown in the software center.
Diffstat (limited to 'libappstream-glib/as-utils.h')
-rw-r--r--libappstream-glib/as-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-glib/as-utils.h b/libappstream-glib/as-utils.h
index 62007d8..61c7a5a 100644
--- a/libappstream-glib/as-utils.h
+++ b/libappstream-glib/as-utils.h
@@ -35,6 +35,7 @@ gchar *as_markup_convert_simple (const gchar *markup,
GError **error);
gboolean as_utils_is_stock_icon_name (const gchar *name);
gboolean as_utils_is_spdx_license_id (const gchar *license_id);
+gboolean as_utils_is_blacklisted_id (const gchar *desktop_id);
const gchar * const *as_util_get_possible_kudos (void);
gchar **as_utils_spdx_license_tokenize (const gchar *license);
gboolean as_utils_check_url_exists (const gchar *url,