| #pragma once | |
| #include <sdbusplus/server.hpp> | |
| namespace ipmi | |
| { | |
| /** | |
| * @brief Get the DBUS Service name for the input dbus path | |
| * | |
| * @param[in] bus - DBUS Bus Object | |
| * @param[in] intf - DBUS Interface | |
| * @param[in] path - DBUS Object Path | |
| * | |
| */ | |
| std::string getService(sdbusplus::bus::bus& bus, | |
| const std::string& intf, | |
| const std::string& path); | |
| } // namespace ipmi | |