Function

FwupdPlugincfu_device_reject_to_string

Declaration [src]

const gchar*
fu_cfu_device_reject_to_string (
  guint8 val
)

Description [src]

Converts an enumerated reject type to a string.

Available since:1.7.0

Parameters

val guint8
 

An enumerated value, e.g. FU_CFU_DEVICE_REJECT_OLD_FIRMWARE.

Return value

Returns: 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.