blob: 8e10771cc43763095a69fa48f90f3bafcc4ece02 [file] [log] [blame]
Dhruvaraj Subhashchandran580d91d2020-04-22 12:29:18 -05001#pragma once
2
Jayanth Othayoth3fc6df42021-04-08 03:45:24 -05003#include <filesystem>
Dhruvaraj Subhashchandran580d91d2020-04-22 12:29:18 -05004
5namespace phosphor
6{
7namespace dump
8{
9namespace offload
10{
11
Dhruvaraj Subhashchandran580d91d2020-04-22 12:29:18 -050012/**
13 * @brief Kicks off the instructions to
14 * start offload of the dump using dbus
15 *
16 * @param[in] file - dump filename with relative path.
17 * @param[in] dumpId - id of the dump.
18 * @param[in] writePath[in] - path to write the dump file.
19 *
20 **/
Jayanth Othayoth3fc6df42021-04-08 03:45:24 -050021void requestOffload(std::filesystem::path file, uint32_t dumpId,
22 std::string writePath);
Dhruvaraj Subhashchandran580d91d2020-04-22 12:29:18 -050023
24} // namespace offload
25} // namespace dump
26} // namespace phosphor