dmi_hardware_security_status
Synopsis
#include <opendmi/entity/hardware-security.h>
typedef enum dmi_hardware_security_status {
DMI_HARDWARE_SECURITY_STATUS_DISABLED = 0x00,
DMI_HARDWARE_SECURITY_STATUS_ENABLED = 0x01,
DMI_HARDWARE_SECURITY_STATUS_NOT_IMPLEMENTED = 0x02,
DMI_HARDWARE_SECURITY_STATUS_UNKNOWN = 0x03,
} dmi_hardware_security_status_t;
const char *dmi_hardware_security_status_name(
dmi_hardware_security_status_t value);
Description
The dmi_hardware_security_status_t enumeration tells the state of a hardware
security setting, and is the type of the fields of dmi_hardware_security_t.
The structure carries each state in two bits, so every value it can hold is
defined.
The dmi_hardware_security_status_name function returns the name of a value,
as the command line tool shows it. The name is in English, or in the language
of the locale the library is set to when it has a translation of the name.
Return value
dmi_hardware_security_status_name returns the name of the value, a constant
string which must not be modified or freed, or nullptr if the value has no
name, e.g. a value out of the range of the enumeration.