Function

AppStreamutils_data_id_valid

Declaration [src]

gboolean
as_utils_data_id_valid (
  const gchar* data_id
)

Description [src]

Checks if a data ID is valid i.e. has the correct number of sections.

Available since:0.14.0

Parameters

data_id const gchar*
 

A component data ID.

 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 the ID is valid.