aboutsummaryrefslogtreecommitdiff
path: root/include/apos/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos/power.h')
-rw-r--r--include/apos/power.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/apos/power.h b/include/apos/power.h
new file mode 100644
index 0000000..e0ca518
--- /dev/null
+++ b/include/apos/power.h
@@ -0,0 +1,10 @@
+#ifndef APOS_POWER_H
+#define APOS_POWER_H
+
+#include <apos/types.h>
+#include <apos/attrs.h>
+
+enum poweroff_type {SHUTDOWN, COLD_REBOOT, WARM_REBOOT};
+stat_t poweroff(enum poweroff_type type);
+
+#endif