Function

FwupdPlugincommon_guid_is_plausible

Declaration [src]

gboolean
fu_common_guid_is_plausible (
  const guint8* buf
)

Description [src]

Checks whether a chunk of memory looks like it could be a GUID.

Available since:1.2.5

Parameters

buf const guint8*
 

A buffer of data.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if it looks like a GUID, FALSE if not.