blob: 13f653c2a24e3bede0d627cad120da6d55496b73 [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
George Liu0a06e972020-12-17 09:17:04 +08005#include <fstream>
Adriana Kobylak58aa7502020-06-08 11:12:11 -05006#include <map>
Jayashankar Padatha0135602019-04-22 16:22:58 +05307#include <string>
Adriana Kobylak5ed9b2d2018-09-06 13:15:34 -05008
Jayashankar Padatha0135602019-04-22 16:22:58 +05309namespace utils
10{
Adriana Kobylak5ed9b2d2018-09-06 13:15:34 -050011
Jayashankar Padatha0135602019-04-22 16:22:58 +053012/**
13 * @brief Get the bus service
14 *
15 * @return the bus service as a string
16 **/
17std::string getService(sdbusplus::bus::bus& bus, const std::string& path,
18 const std::string& interface);
Adriana Kobylak5ed9b2d2018-09-06 13:15:34 -050019
George Liu0a06e972020-12-17 09:17:04 +080020/**
21 * @brief Merge more files
22 *
23 * @param[in] srcFiles - source files
24 * @param[out] dstFile - destination file
25 * @return
26 **/
27void mergeFiles(std::vector<std::string>& srcFiles, std::string& dstFile);
Jayashankar Padatha0135602019-04-22 16:22:58 +053028} // namespace utils