Function

Fwupdguid_is_valid

Declaration [src]

gboolean
fwupd_guid_is_valid (
  const gchar* guid
)

Description [src]

Checks the string is a valid GUID.

Available since:1.2.5

Parameters

guid const gchar*
 

String to check, e.g. 00112233-4455-6677-8899-aabbccddeeff

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

Return value

Returns: gboolean
 

TRUE if guid was a valid GUID, FALSE otherwise.