From 6e8979d2be1d0c874fa44eb9f501da23c984037e Mon Sep 17 00:00:00 2001 From: Vishwanatha Subbanna Date: Thu, 13 Jul 2017 16:48:20 +0530 Subject: Make host command manager accessible by OpenPower OEM Since OpenPower Host IPMI OEM also needs to use the Host Command manager, need to place the files in appropriate directories and make needed changes. Change-Id: I7536a0ff1e53a844ec05f73c4e0605cbf4341465 Signed-off-by: Vishwanatha Subbanna --- host-ipmid/ipmid-host-cmd.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 host-ipmid/ipmid-host-cmd.hpp (limited to 'host-ipmid/ipmid-host-cmd.hpp') diff --git a/host-ipmid/ipmid-host-cmd.hpp b/host-ipmid/ipmid-host-cmd.hpp new file mode 100644 index 0000000..6541bae --- /dev/null +++ b/host-ipmid/ipmid-host-cmd.hpp @@ -0,0 +1,10 @@ +#include +#include +#include "ipmid-host-cmd-utils.hpp" + +// Need this to use new sdbusplus compatible interfaces +using sdbusPtr = std::unique_ptr; +extern sdbusPtr& ipmid_get_sdbus_plus_handler(); + +// Global Host Bound Command manager +extern void ipmid_send_cmd_to_host(phosphor::host::command::CommandHandler&&); -- cgit v1.2.1