#pragma once #include #include #include namespace openpower { namespace pels { namespace phal { using json = nlohmann::json; using FFDCData = std::vector>; /** * @brief Used to convert processed SBE FFDC FAPI format packets into * PEL expected format. * * @param[in] ffdc FFDC data capturd by the HWP * @param[out] pelJSONFmtCalloutDataList used to store collected callout * data into pel expected format * @param[out] ffdcUserData used to store additional ffdc user data to * provided by the SBE FFDC packet. * * @return NULL * */ void convertFAPItoPELformat(FFDC& ffdc, json& pelJSONFmtCalloutDataList, FFDCData& ffdcUserData); } // namespace phal } // namespace pels } // namespace openpower