1 #pragma once 2 3 #include <libpldm/pldm.h> 4 5 namespace phosphor 6 { 7 namespace dump 8 { 9 namespace host 10 { 11 /** 12 * @brief Initiate offload of the dump with provided id 13 * 14 * @param[in] id - The Dump Source ID. 15 * 16 */ 17 void requestOffload(uint32_t id); 18 } // namespace host 19 20 namespace pldm 21 { 22 23 /** 24 * PLDMInterface 25 * 26 * Handles sending the SetNumericEffecterValue PLDM 27 * command to the host to start dump offload. 28 * 29 */ 30 31 /** 32 * @brief Kicks of the SetNumericEffecterValue command to 33 * start offload the dump 34 * 35 * @param[in] id - The Dump Source ID. 36 * 37 */ 38 39 void requestOffload(uint32_t id); 40 41 /** 42 * @brief Reads the MCTP endpoint ID out of a file 43 */ 44 mctp_eid_t readEID(); 45 46 } // namespace pldm 47 } // namespace dump 48 } // namespace phosphor 49