summaryrefslogtreecommitdiffstats
path: root/ipmid-host-cmd.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ipmid-host-cmd.hpp')
-rw-r--r--ipmid-host-cmd.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/ipmid-host-cmd.hpp b/ipmid-host-cmd.hpp
new file mode 100644
index 0000000..7ef8b39
--- /dev/null
+++ b/ipmid-host-cmd.hpp
@@ -0,0 +1,10 @@
+#include <memory>
+#include <sdbusplus/bus.hpp>
+#include <host-cmd-utils.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