blob: 98be82ab984e39f6d7e5bd406ad66791b089813b [file] [log] [blame]
Tom Josephbe703f72017-03-09 12:34:35 +05301#pragma once
2
3#include <sdbusplus/server.hpp>
4
5namespace 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 */
16std::string getService(sdbusplus::bus::bus& bus,
17 const std::string& intf,
18 const std::string& path);
19} // namespace ipmi
20
21