diff options
author | Richard Hughes <richard@hughsie.com> | 2014-08-11 20:22:36 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-08-11 20:22:36 +0100 |
commit | fabcd6c7ff5691834ffdfec06a9ad6af6934f768 (patch) | |
tree | 97c258bf16aaf73ada06f27fabbabaaee1637ffd /libappstream-glib/as-utils.h | |
parent | dae8dc5569d58ba13b45c78098ef4717031a28bc (diff) | |
download | appstream-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.h | 1 |
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); |