blob: 26780614beddb61dbdcc55e418c48d1c4664914e [file] [log] [blame]
#pragma once
#include <experimental/filesystem>
namespace phosphor
{
namespace dump
{
namespace offload
{
namespace fs = std::experimental::filesystem;
/**
* @brief Kicks off the instructions to
* start offload of the dump using dbus
*
* @param[in] file - dump filename with relative path.
* @param[in] dumpId - id of the dump.
* @param[in] writePath[in] - path to write the dump file.
*
**/
void requestOffload(fs::path file, uint32_t dumpId, std::string writePath);
} // namespace offload
} // namespace dump
} // namespace phosphor