Function

FwupdPlugintpm_alg_to_string

Declaration [src]

const gchar*
fu_tpm_alg_to_string (
  FuTpmAlg val
)

Description [src]

Converts an enumerated value to a string.

Parameters

val

Type: FuTpmAlg

Value, e.g. FU_TPM_ALG_SHA1.

Return value

Type: const gchar*

Identifier string.

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