blob: 2da6e450555b6eca1daa39d0d5d16f3ba8d3afc5 [file] [log] [blame]
#pragma once
#include <libekb.H>
#include <cstdarg>
#include <nlohmann/json.hpp>
namespace openpower
{
namespace pels
{
namespace phal
{
using json = nlohmann::json;
using FFDCData = std::vector<std::pair<std::string, std::string>>;
/**
* @brief Used to convert processed SBE FFDC FAPI format packets into
* PEL expected format.
*
* @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