summaryrefslogtreecommitdiffstats
path: root/systemintfcmds.cpp
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 /systemintfcmds.cpp
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 'systemintfcmds.cpp')
-rw-r--r--systemintfcmds.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/systemintfcmds.cpp b/systemintfcmds.cpp
index 564cc38..4964800 100644
--- a/systemintfcmds.cpp
+++ b/systemintfcmds.cpp
@@ -113,6 +113,12 @@ std::unique_ptr<sdbusplus::asio::connection> sdbusp
__attribute__((init_priority(101)));
} // namespace
+// this is used by openpower-host-ipmi-oem
+std::unique_ptr<sdbusplus::asio::connection>& ipmid_get_sdbus_plus_handler()
+{
+ return sdbusp;
+}
+
#include <unistd.h>
void register_netfn_app_functions()
{
OpenPOWER on IntegriCloud