aboutsummaryrefslogtreecommitdiff
path: root/pldm/include/libpldm/states.h
diff options
context:
space:
mode:
Diffstat (limited to 'pldm/include/libpldm/states.h')
-rw-r--r--pldm/include/libpldm/states.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/pldm/include/libpldm/states.h b/pldm/include/libpldm/states.h
new file mode 100644
index 0000000..a89648d
--- /dev/null
+++ b/pldm/include/libpldm/states.h
@@ -0,0 +1,27 @@
+#ifndef STATES_H
+#define STATES_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "pldm_types.h"
+
+/** @brief PLDM enums for the boot progress state set
+ */
+enum pldm_boot_progress_states {
+ PLDM_BOOT_NOT_ACTIVE = 1,
+ PLDM_BOOT_COMPLETED = 2,
+};
+
+/** @brief PLDM enums for system power states
+ */
+enum pldm_system_power_states {
+ PLDM_OFF_SOFT_GRACEFUL = 9,
+};
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* STATES_H */