blob: f536cf2e8b1e713747d9bcb50d205b7f4bbe2e00 [file] [log] [blame]
Marri Devender Rao0acf0572017-07-03 12:25:47 -05001#pragma once
2#include <string>
3#include <sdbusplus/bus.hpp>
4#include "ipmi_fru_info_area.hpp"
5
6namespace ipmi
7{
8namespace fru
9{
10using FRUId = uint8_t;
11using FRUAreaMap = std::map<FRUId, FruAreaData>;
12/**
13 * @brief Get fru area data as per IPMI specification
14 *
15 * @param[in] fruNum FRU ID
16 *
17 * @return FRU area data as per IPMI specification
18 */
19const FruAreaData& getFruAreaData(const FRUId& fruNum);
20
21} //fru
22} //ipmi