summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-utils.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-08-11 20:22:36 +0100
committerRichard Hughes <richard@hughsie.com>2014-08-11 20:22:36 +0100
commitfabcd6c7ff5691834ffdfec06a9ad6af6934f768 (patch)
tree97c258bf16aaf73ada06f27fabbabaaee1637ffd /libappstream-glib/as-utils.h
parentdae8dc5569d58ba13b45c78098ef4717031a28bc (diff)
downloadappstream-glib-fabcd6c7ff5691834ffdfec06a9ad6af6934f768.tar.gz
Add as_utils_is_spdx_license()
Use this to check the compound metadata license in AppData files.
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 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);