Function
FwupdDeviceid_is_valid
since: 1.4.1
[−]
Description [src]
Checks the string is a valid non-partial device ID. It is important to note
that the wildcard ID of *
is not considered a valid ID in this function and
the client must check for this manually if this should be allowed.
Available since: 1.4.1
[−]
Parameters
device_id
-
Type:
const gchar*
String to check, e.g.
d3fae86d95e5d56626129d00e332c4b8dac95442
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.