Function

FwupdPluginDeviceinstance_flags_to_string

Declaration [src]

gchar*
fu_device_instance_flags_to_string (
  FuDeviceInstanceFlags val
)

Description [src]

Converts an enumerated value to a string.

Parameters

val

Type: FuDeviceInstanceFlags

Value, e.g. FU_DEVICE_INSTANCE_FLAG_VISIBLE.

Return value

Type: gchar*

Identifier string.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.