summaryrefslogtreecommitdiffstats
path: root/host-interface.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host-interface.hpp')
-rw-r--r--host-interface.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/host-interface.hpp b/host-interface.hpp
index 793a5cb..56d19d1 100644
--- a/host-interface.hpp
+++ b/host-interface.hpp
@@ -28,6 +28,15 @@ class Host : public sdbusplus::server::object::object<
sdbusplus::xyz::openbmc_project::Control::server::Host>(
bus, objPath)
{}
+
+ /** @brief Send input command to host
+ *
+ * Note that the command will be queued in a FIFO if other commands
+ * to the host have yet to be run
+ *
+ * @param[in] command - Input command to execute
+ */
+ void execute(Command command) override;
};
} // namespace host
OpenPOWER on IntegriCloud