Function
FwupdPluginusb_descriptor_kind_from_string
Declaration [src]
FuUsbDescriptorKind
fu_usb_descriptor_kind_from_string (
const gchar* val
)
Parameters
val-
Type:
const gchar*A string, e.g.
device.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: FuUsbDescriptorKind
Enumerated value.