Function

FwupdPluginDeviceinternal_flag_from_string

Declaration [src]

FuDeviceInternalFlags
fu_device_internal_flag_from_string (
  const gchar* flag
)

Description [src]

Converts a string to an internal device flag.

Available since:1.5.5

Parameters

flag const gchar*
 

A string, e.g. md-set-icon

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

Return value

Returns: FuDeviceInternalFlags
 

Enumerated value.