diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2018-03-20 23:06:06 +0530 |
---|---|---|
committer | Ratan Gupta <ratagupt@in.ibm.com> | 2018-03-21 07:39:06 +0530 |
commit | 04edb9b0d1c7f9be22a5334c87d8d2a5284fa9e9 (patch) | |
tree | f1cd044fdc9091f101786d6f50e04cfd39e600cd /main.cpp | |
parent | 408013630a1ffded4fe035f1e39b8fcac85eccea (diff) | |
download | phosphor-net-ipmid-04edb9b0d1c7f9be22a5334c87d8d2a5284fa9e9.tar.gz phosphor-net-ipmid-04edb9b0d1c7f9be22a5334c87d8d2a5284fa9e9.zip |
Define the ipmid_get_sd_bus_event_connection
Due to the phosphor-host-ipmid commit (7a7f01)
transporthandler.cpp start referring to the
ipmid_get_sd_bus_event_connection function
and transporthandler.cpp is a provider library
for phosphor-net-ipmid.
This commit defines the ipmid_get_sd_bus_event_connection
function in the context of phosphor-net-ipmid process.
Change-Id: I7fbc39f526138615966a90f78884a80b4cf063f4
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -51,6 +51,14 @@ sd_bus* ipmid_get_sd_bus_connection() /* * @brief Required by apphandler IPMI Provider Library */ +sd_event* ipmid_get_sd_event_connection() +{ + return loop.event; +} + +/* + * @brief Required by apphandler IPMI Provider Library + */ unsigned short get_sel_reserve_id() { return g_sel_reserve; |