From fabcd6c7ff5691834ffdfec06a9ad6af6934f768 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 11 Aug 2014 20:22:36 +0100 Subject: Add as_utils_is_spdx_license() Use this to check the compound metadata license in AppData files. --- libappstream-glib/as-utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libappstream-glib/as-utils.h') diff --git a/libappstream-glib/as-utils.h b/libappstream-glib/as-utils.h index 24c92fc..2536ec0 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_spdx_license (const gchar *license); gboolean as_utils_is_environment_id (const gchar *environment_id); gboolean as_utils_is_category_id (const gchar *category_id); gboolean as_utils_is_blacklisted_id (const gchar *desktop_id); -- cgit v1.2.1