Vishwanatha Subbanna | 6e8979d | 2017-07-13 16:48:20 +0530 | [diff] [blame] | 1 | #include "ipmid-host-cmd-utils.hpp" |
Vishwanatha Subbanna | 3eb117a | 2017-07-12 16:13:49 +0530 | [diff] [blame] | 2 | |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 3 | #include <memory> |
| 4 | #include <sdbusplus/bus.hpp> |
| 5 | |
Vishwanatha Subbanna | 3eb117a | 2017-07-12 16:13:49 +0530 | [diff] [blame] | 6 | // Need this to use new sdbusplus compatible interfaces |
Patrick Venture | 0b02be9 | 2018-08-31 11:55:55 -0700 | [diff] [blame] | 7 | using sdbusPtr = std::unique_ptr<sdbusplus::bus::bus>; |
Vishwanatha Subbanna | 3eb117a | 2017-07-12 16:13:49 +0530 | [diff] [blame] | 8 | extern sdbusPtr& ipmid_get_sdbus_plus_handler(); |
| 9 | |
| 10 | // Global Host Bound Command manager |
| 11 | extern void ipmid_send_cmd_to_host(phosphor::host::command::CommandHandler&&); |