diff options
Diffstat (limited to 'ipmi_fru_info_area.hpp')
-rw-r--r-- | ipmi_fru_info_area.hpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/ipmi_fru_info_area.hpp b/ipmi_fru_info_area.hpp index 61c4e81..7faca98 100644 --- a/ipmi_fru_info_area.hpp +++ b/ipmi_fru_info_area.hpp @@ -1,27 +1,27 @@ -#pragma once
-#include <string>
-#include <vector>
-
-namespace ipmi
-{
-namespace fru
-{
-using FruAreaData = std::vector<uint8_t>;
-using Section = std::string;
-using Value = std::string;
-using Property = std::string;
-using PropertyMap = std::map<Property, Value>;
-using FruInventoryData = std::map<Section, PropertyMap>;
-
-/**
- * @brief Builds Fru area data from inventory data
- *
- * @param[in] invData FRU properties values read from inventory
- *
- * @return FruAreaData FRU area data as per IPMI specification
- */
-FruAreaData buildFruAreaData(const FruInventoryData& inventory);
-
-} //fru
-} //ipmi
-
+#pragma once +#include <string> +#include <vector> + +namespace ipmi +{ +namespace fru +{ +using FruAreaData = std::vector<uint8_t>; +using Section = std::string; +using Value = std::string; +using Property = std::string; +using PropertyMap = std::map<Property, Value>; +using FruInventoryData = std::map<Section, PropertyMap>; + +/** + * @brief Builds Fru area data from inventory data + * + * @param[in] invData FRU properties values read from inventory + * + * @return FruAreaData FRU area data as per IPMI specification + */ +FruAreaData buildFruAreaData(const FruInventoryData& inventory); + +} //fru +} //ipmi + |