aboutsummaryrefslogtreecommitdiff
path: root/include/apos/power.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-04-30 17:06:02 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-04-30 17:06:02 +0300
commitea5ebe0809fb31b9f125ac0689f706cc5f3f078f (patch)
tree17081bd689709a9bfe48467c458425dea876bddd /include/apos/power.h
parent8a5e4cf53d981e793fca90d9b51bd395265cf4db (diff)
downloadkmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.tar.gz
kmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.zip
rename to kmi
Diffstat (limited to 'include/apos/power.h')
-rw-r--r--include/apos/power.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/include/apos/power.h b/include/apos/power.h
deleted file mode 100644
index b239d5b..0000000
--- a/include/apos/power.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
-
-#ifndef APOS_POWER_H
-#define APOS_POWER_H
-
-/**
- * @file power.h
- * Power subsystem. Will hopefully eventually be used to restart and shutdown
- * host machines.
- */
-
-#include <apos/types.h>
-#include <apos/attrs.h>
-
-/** Types of powering off. Still unclear what difference there is between warm
- * and cold reboot. */
-enum poweroff_type {
- /** Shut down. */
- SHUTDOWN,
-
- /** Cold or complete reboot. */
- COLD_REBOOT,
-
- /** Warm or partial reboot. */
- WARM_REBOOT
-};
-
-/**
- * Power off the system.
- *
- * @param type Type of powering off. \see poweroff_type.
- * @return Nothing on success (system shuts down), \ref ERR_INVAL on invalid
- * poweroff type or ERR_MISC if studown was not succesful.
- */
-stat_t poweroff(enum poweroff_type type);
-
-#endif