Top | ![]() |
![]() |
![]() |
![]() |
gchar * | as_markup_convert_simple () |
gboolean | as_utils_is_stock_icon_name () |
gboolean | as_utils_is_spdx_license_id () |
const gchar * const * | as_util_get_possible_kudos () |
gchar ** | as_utils_spdx_license_tokenize () |
gboolean | as_utils_check_url_exists () |
These functions are used internally to libappstream-glib, and some may be useful to user-applications.
gchar * as_markup_convert_simple (const gchar *markup
,gssize markup_len
,GError **error
);
Converts an XML description into a printable form.
markup |
the text to copy. |
|
markup_len |
the length of |
|
error |
A GError or |
Since 0.1.0
gboolean
as_utils_is_stock_icon_name (const gchar *name
);
Searches the known list of stock icons.
TRUE
if the icon is a "stock icon name" and does not need to be
included in the AppStream icon tarball
Since 0.1.3
gboolean
as_utils_is_spdx_license_id (const gchar *license_id
);
Searches the known list of SPDX license IDs.
Since 0.1.5
const gchar * const *
as_util_get_possible_kudos (void
);
Returns a list of all known kudos, which are metadata values that infer a level of integration or quality.
Since 0.1.4
gchar **
as_utils_spdx_license_tokenize (const gchar *license
);
Tokenizes the SPDX license string (or any simarly formatted string) into parts. Any non-licence parts of the string e.g. " and " are prefexed with "#".
Since 0.1.5