blob: ac1b148a7695c53a359f19ca93ed7b7932a80081 [file] [log] [blame]
Deepak Kodihalli82c1e562016-11-28 06:06:50 -06001#pragma once
2
Deepak Kodihalli82c1e562016-11-28 06:06:50 -06003#include <store.hpp>
Patrick Williamsc78d8872023-05-10 07:50:56 -05004
Patrick Venturec83c4dc2018-11-01 16:29:18 -07005#include <string>
Deepak Kodihalli82c1e562016-11-28 06:06:50 -06006
7namespace openpower
8{
9namespace vpd
10{
11namespace inventory
12{
13
14/** @brief API to write parsed VPD to inventory
15 *
16 * @param [in] type - FRU type
17 * @param [in] vpdStore - Store object containing parsed VPD
18 * @param [in] path - FRU object path
19 */
Patrick Venturec83c4dc2018-11-01 16:29:18 -070020void write(const std::string& type, const Store& vpdStore,
Deepak Kodihalli82c1e562016-11-28 06:06:50 -060021 const std::string& path);
22
Patrick Venturec83c4dc2018-11-01 16:29:18 -070023} // namespace inventory
Deepak Kodihalli82c1e562016-11-28 06:06:50 -060024} // namespace vpd
25} // namespace openpower