summaryrefslogtreecommitdiffstats
path: root/include/ipmid-host/cmd.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ipmid-host/cmd.hpp')
-rw-r--r--include/ipmid-host/cmd.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ipmid-host/cmd.hpp b/include/ipmid-host/cmd.hpp
new file mode 100644
index 0000000..adea960
--- /dev/null
+++ b/include/ipmid-host/cmd.hpp
@@ -0,0 +1,10 @@
+#include <ipmid-host/cmd-utils.hpp>
+#include <memory>
+#include <sdbusplus/bus.hpp>
+
+// Need this to use new sdbusplus compatible interfaces
+using sdbusPtr = std::unique_ptr<sdbusplus::bus::bus>;
+extern sdbusPtr& ipmid_get_sdbus_plus_handler();
+
+// Global Host Bound Command manager
+extern void ipmid_send_cmd_to_host(phosphor::host::command::CommandHandler&&);
OpenPOWER on IntegriCloud