Function

FwupdPlugincfu_device_status_to_string

since: 1.7.0

Declaration [src]

const gchar*
fu_cfu_device_status_to_string (
  guint8 val
)

Description [src]

Converts an enumerated status type to a string.

Available since: 1.7.0

Parameters

val

Type: guint8

An enumerated value, e.g. FU_CFU_DEVICE_OFFER_ACCEPT.

Return value

Type: const gchar*

A string, or unknown for invalid.

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