blob: 0544bdf422aed5ea1da9394b823c1b1352e5b21d [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 Venturec83c4dc2018-11-01 16:29:18 -07004#include <string>
Deepak Kodihalli82c1e562016-11-28 06:06:50 -06005
6namespace openpower
7{
8namespace vpd
9{
10namespace inventory
11{
12
13/** @brief API to write parsed VPD to inventory
14 *
15 * @param [in] type - FRU type
16 * @param [in] vpdStore - Store object containing parsed VPD
17 * @param [in] path - FRU object path
18 */
Patrick Venturec83c4dc2018-11-01 16:29:18 -070019void write(const std::string& type, const Store& vpdStore,
Deepak Kodihalli82c1e562016-11-28 06:06:50 -060020 const std::string& path);
21
Patrick Venturec83c4dc2018-11-01 16:29:18 -070022} // namespace inventory
Deepak Kodihalli82c1e562016-11-28 06:06:50 -060023} // namespace vpd
24} // namespace openpower