blob: 7a4150dc3b8abf2303dbb8b0df71ed00652dba29 [file] [log] [blame]
Jayashankar Padatha0135602019-04-22 16:22:58 +05301#include "config.h"
Adriana Kobylak5ed9b2d2018-09-06 13:15:34 -05002
Jayashankar Padatha0135602019-04-22 16:22:58 +05303#include <sdbusplus/server.hpp>
Adriana Kobylak58aa7502020-06-08 11:12:11 -05004
5#include <map>
Jayashankar Padatha0135602019-04-22 16:22:58 +05306#include <string>
Adriana Kobylak5ed9b2d2018-09-06 13:15:34 -05007
Jayashankar Padatha0135602019-04-22 16:22:58 +05308namespace utils
9{
Adriana Kobylak5ed9b2d2018-09-06 13:15:34 -050010
Jayashankar Padatha0135602019-04-22 16:22:58 +053011/**
12 * @brief Get the bus service
13 *
14 * @return the bus service as a string
15 **/
16std::string getService(sdbusplus::bus::bus& bus, const std::string& path,
17 const std::string& interface);
Adriana Kobylak5ed9b2d2018-09-06 13:15:34 -050018
Jayashankar Padatha0135602019-04-22 16:22:58 +053019} // namespace utils