summaryrefslogtreecommitdiffstats
path: root/host-cmd-manager.hpp
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-07-13 16:48:20 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-08-14 18:47:08 +0000
commit6e8979d2be1d0c874fa44eb9f501da23c984037e (patch)
tree0d271fece55fa4526579a367097b6e21775bbf0d /host-cmd-manager.hpp
parent3eb117a322aca11f049bb05beea5eb2f6385cb8e (diff)
downloadphosphor-host-ipmid-6e8979d2be1d0c874fa44eb9f501da23c984037e.tar.gz
phosphor-host-ipmid-6e8979d2be1d0c874fa44eb9f501da23c984037e.zip
Make host command manager accessible by OpenPower OEM
Since OpenPower Host IPMI OEM also needs to use the Host Command manager, need to place the files in appropriate directories and make needed changes. Change-Id: I7536a0ff1e53a844ec05f73c4e0605cbf4341465 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'host-cmd-manager.hpp')
-rw-r--r--host-cmd-manager.hpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/host-cmd-manager.hpp b/host-cmd-manager.hpp
index 0c938e5..06ac5fa 100644
--- a/host-cmd-manager.hpp
+++ b/host-cmd-manager.hpp
@@ -4,7 +4,7 @@
#include <queue>
#include <sdbusplus/bus.hpp>
#include <timer.hpp>
-#include <host-cmd-utils.hpp>
+#include <host-ipmid/ipmid-host-cmd-utils.hpp>
namespace phosphor
{
@@ -31,12 +31,7 @@ class Manager
* @param[in] bus - dbus handler
* @param[in] event - pointer to sd_event
*/
- Manager(sdbusplus::bus::bus& bus, sd_event* event) :
- bus(bus),
- timer(event, std::bind(&Manager::hostTimeout, this))
- {
- // Nothing to do here.
- }
+ Manager(sdbusplus::bus::bus& bus, sd_event* event);
/** @brief Extracts the next entry in the queue and returns
* Command and data part of it.
OpenPOWER on IntegriCloud