summaryrefslogtreecommitdiffstats
path: root/utils.hpp
blob: 98be82ab984e39f6d7e5bd406ad66791b089813b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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


OpenPOWER on IntegriCloud