dmi_hpe_tm_disable_reason
Synopsis
#include <opendmi/entity/hpe/trusted-module.h>
typedef enum dmi_hpe_tm_disable_reason {
DMI_HPE_TM_DISABLE_REASON_UNSPEC = 0x00,
DMI_HPE_TM_DISABLE_REASON_USER = 0x01,
DMI_HPE_TM_DISABLE_REASON_ERROR = 0x02
} dmi_hpe_tm_disable_reason_t;
const char *dmi_hpe_tm_disable_reason_name(dmi_hpe_tm_disable_reason_t value);
Description
The dmi_hpe_tm_disable_reason_t enumeration tells the reason a trusted
module is disabled for, and is the type of the disable_reason field of
dmi_hpe_trusted_module_t.
The dmi_hpe_tm_disable_reason_name function returns the name of a value, as
the command line tool shows it.
Return value
dmi_hpe_tm_disable_reason_name returns the name of the value, translated to the language of the
current locale when a translation is available, or nullptr if the value
has no name. The returned string must not be modified or freed.