Function

AppStreamutils_is_platform_triplet

Declaration [src]

gboolean
as_utils_is_platform_triplet (
  const gchar* triplet
)

Description [src]

Test if the given string is a valid platform triplet recognized by AppStream.

Available since:0.14.0

Parameters

triplet const gchar*
 

A platform triplet.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

TRUE if triplet is valid.