Function
Fwupdguid_from_string
Declaration [src]
gboolean
fwupd_guid_from_string (
const gchar* guidstr,
guint8* guid,
FwupdGuidFlags flags,
GError** error
)
Description [src]
Converts a string GUID into its binary encoding. All string GUIDs are formatted as big endian but on-disk can be encoded in different ways.
Available since: | 1.2.5 |
Parameters
guidstr |
const gchar* |
A GUID, e.g. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
guid |
guint8* |
A #fwupd_guid_t, or NULL to just check the GUID. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
flags |
FwupdGuidFlags |
GUID flags, e.g. |
|
error |
GError ** |
The return location for a GError* , or NULL . |