1 #pragma once 2 3 #include <filesystem> 4 5 namespace phosphor 6 { 7 namespace dump 8 { 9 namespace offload 10 { 11 12 /** 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 **/ 21 void requestOffload(std::filesystem::path file, uint32_t dumpId, 22 std::string writePath); 23 24 } // namespace offload 25 } // namespace dump 26 } // namespace phosphor 27