Tom Joseph | be703f7 | 2017-03-09 12:34:35 +0530 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include <sdbusplus/server.hpp> | ||||
4 | |||||
5 | namespace ipmi | ||||
6 | { | ||||
7 | |||||
8 | /** | ||||
9 | * @brief Get the DBUS Service name for the input dbus path | ||||
10 | * | ||||
11 | * @param[in] bus - DBUS Bus Object | ||||
12 | * @param[in] intf - DBUS Interface | ||||
13 | * @param[in] path - DBUS Object Path | ||||
14 | * | ||||
15 | */ | ||||
16 | std::string getService(sdbusplus::bus::bus& bus, | ||||
17 | const std::string& intf, | ||||
18 | const std::string& path); | ||||
19 | } // namespace ipmi | ||||
20 | |||||
21 |