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