blob: f536cf2e8b1e713747d9bcb50d205b7f4bbe2e00 [file] [log] [blame]
#pragma once
#include <string>
#include <sdbusplus/bus.hpp>
#include "ipmi_fru_info_area.hpp"
namespace ipmi
{
namespace fru
{
using FRUId = uint8_t;
using FRUAreaMap = std::map<FRUId, FruAreaData>;
/**
* @brief Get fru area data as per IPMI specification
*
* @param[in] fruNum FRU ID
*
* @return FRU area data as per IPMI specification
*/
const FruAreaData& getFruAreaData(const FRUId& fruNum);
} //fru
} //ipmi