blob: 26780614beddb61dbdcc55e418c48d1c4664914e [file] [log] [blame]
Dhruvaraj Subhashchandran580d91d2020-04-22 12:29:18 -05001#pragma once
2
3#include <experimental/filesystem>
4
5namespace phosphor
6{
7namespace dump
8{
9namespace offload
10{
11
12namespace fs = std::experimental::filesystem;
13
14/**
15 * @brief Kicks off the instructions to
16 * start offload of the dump using dbus
17 *
18 * @param[in] file - dump filename with relative path.
19 * @param[in] dumpId - id of the dump.
20 * @param[in] writePath[in] - path to write the dump file.
21 *
22 **/
23void requestOffload(fs::path file, uint32_t dumpId, std::string writePath);
24
25} // namespace offload
26} // namespace dump
27} // namespace phosphor