summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2019-02-27 10:05:14 -0800
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-02-27 10:18:45 -0800
commitfe6c655860641696ddad96f24de92001ab3459ff (patch)
tree6cc8c6a1d7ff3f8e94d287a07a9f64d2dd09e679 /include
parent41c79e629898ddac7d93330a3afe67367603c3c8 (diff)
downloadphosphor-host-ipmid-fe6c655860641696ddad96f24de92001ab3459ff.tar.gz
phosphor-host-ipmid-fe6c655860641696ddad96f24de92001ab3459ff.zip
Add back an interface used by an external provider
The move to the new API removed the ipmid_get_sdbus_plus_handler interface because it looked like it was self-contained in the executable, not realizing it was needed by an external provider. Change-Id: I75bb898294cc59cae7d291f7a6a6ed1e61d62903 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/ipmid-host/cmd.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ipmid-host/cmd.hpp b/include/ipmid-host/cmd.hpp
index e46c485..ca73bd2 100644
--- a/include/ipmid-host/cmd.hpp
+++ b/include/ipmid-host/cmd.hpp
@@ -1,6 +1,8 @@
#include <ipmid-host/cmd-utils.hpp>
#include <memory>
-#include <sdbusplus/bus.hpp>
+#include <sdbusplus/asio/connection.hpp>
// Global Host Bound Command manager
extern void ipmid_send_cmd_to_host(phosphor::host::command::CommandHandler&&);
+extern std::unique_ptr<sdbusplus::asio::connection>&
+ ipmid_get_sdbus_plus_handler();
OpenPOWER on IntegriCloud