summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2019-03-01 16:52:25 -0800
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-03-19 12:48:50 -0700
commit20ff333db29f0d8a46016be3517d11bfb553fc93 (patch)
treecd3b0f53b0e51b773605bed0cb1106a8afef2441 /include
parentbfe55a1f7ca6388662cf9613d08ebb5266cd82f8 (diff)
downloadphosphor-host-ipmid-20ff333db29f0d8a46016be3517d11bfb553fc93.tar.gz
phosphor-host-ipmid-20ff333db29f0d8a46016be3517d11bfb553fc93.zip
Change linkage of ipmid_get_sdbus_plus_handler() to libipmid.so
ipmid_get_sdbus_plus_handler() was re-added to be a part of systemintfcmds where it was used. This moves it to libipmid.so because that is where symbols used by both ipmid and the providers should be. Because ipmid_get_sdbus_plus_handler() relies on the io service and the main sdbus::asio::connection is also right there, this moves those symbols to libipmid as well to keep coherent. Change-Id: Ib125a0c217c8bcf47a8a4bd0c557eb69e928245b Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/ipmid/api.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ipmid/api.hpp b/include/ipmid/api.hpp
index 47dc04d..b691bed 100644
--- a/include/ipmid/api.hpp
+++ b/include/ipmid/api.hpp
@@ -221,8 +221,8 @@ static inline auto responseSuccess()
} // namespace ipmi
-// any client can interact with the main asio service
-std::shared_ptr<boost::asio::io_service> getIoService();
+// any client can interact with the main asio context
+std::shared_ptr<boost::asio::io_context> getIoContext();
// any client can interact with the main sdbus
std::shared_ptr<sdbusplus::asio::connection> getSdBus();
@@ -239,5 +239,5 @@ std::shared_ptr<sdbusplus::asio::connection> getSdBus();
template <typename WorkFn>
static inline void post_work(WorkFn work)
{
- getIoService()->post(std::forward<WorkFn>(work));
+ getIoContext()->post(std::forward<WorkFn>(work));
}
OpenPOWER on IntegriCloud