diff options
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-07-12 16:13:49 +0530 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-14 18:47:08 +0000 |
commit | 3eb117a322aca11f049bb05beea5eb2f6385cb8e (patch) | |
tree | f3352df962e284c1d239e38a57955c1fa8b6ddca /ipmid-host-cmd.hpp | |
parent | ac149a94543c9fae468cf45e47103998153c89a5 (diff) | |
download | phosphor-host-ipmid-3eb117a322aca11f049bb05beea5eb2f6385cb8e.tar.gz phosphor-host-ipmid-3eb117a322aca11f049bb05beea5eb2f6385cb8e.zip |
Use Host Command Manager in host interface implementation
Change-Id: Icefce510a3a0022bf0288fa99518459b732a2e04
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'ipmid-host-cmd.hpp')
-rw-r--r-- | ipmid-host-cmd.hpp | 10 |
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&&); |