dmi_boot_option
Synopsis
#include <opendmi/entity/system-reset.h>
typedef enum dmi_boot_option {
DMI_BOOT_OPTION_RESERVED = 0x00,
DMI_BOOT_OPTION_OPERATING_SYSTEM = 0x01,
DMI_BOOT_OPTION_SYSTEM_UTILS = 0x02,
DMI_BOOT_OPTION_AVOID_REBOOT = 0x03,
} dmi_boot_option_t;
const char *dmi_boot_option_name(dmi_boot_option_t value);
Description
The dmi_boot_option_t enumeration tells what a system does after an
automatic system reset. It is the type of the boot_on_watchdog and
boot_on_limit fields of dmi_system_reset_t.
The dmi_boot_option_name function returns the printable name of a value, as
the command line tool shows it. The name is translated to the locale set with
dmi_set_locale, when the library is built with ICU4C support and has a
translation of it.
Return value
dmi_boot_option_name returns the name of the value, or nullptr if the
value has no name. The name is a static string, which must not be modified or
freed.