dmi_ipmi_intr_trigger_mode
Synopsis
#include <opendmi/entity/ipmi-device.h>
typedef enum dmi_ipmi_intr_trigger_mode {
DMI_IPMI_INTR_TRIGGER_MODE_UNSPEC = 0x0,
DMI_IPMI_INTR_TRIGGER_MODE_EDGE = 0x1,
DMI_IPMI_INTR_TRIGGER_MODE_LEVEL = 0x2
} dmi_ipmi_intr_trigger_mode_t;
const char *dmi_ipmi_intr_trigger_mode_name(dmi_ipmi_intr_trigger_mode_t value);
Description
The dmi_ipmi_intr_trigger_mode_t enumeration tells how the interrupt of the
system interface of an IPMI baseboard management controller is triggered,
and is the type of the intr_trigger field of dmi_ipmi_device_t.
The dmi_ipmi_intr_trigger_mode_name function returns the name of a value, as
the command line tool shows it.
Return value
dmi_ipmi_intr_trigger_mode_name returns the name of the value, or nullptr if
the value has no name. The name is translated to the language of the current
locale when the library is built with localization support and has a
translation for it, and is in English otherwise. The string is owned by the
library and must not be modified or freed.