xref: /openbmc/openpower-vpd-parser/write.hpp (revision c78d887c)
1 #pragma once
2 
3 #include <store.hpp>
4 
5 #include <string>
6 
7 namespace openpower
8 {
9 namespace vpd
10 {
11 namespace 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  */
20 void write(const std::string& type, const Store& vpdStore,
21            const std::string& path);
22 
23 } // namespace inventory
24 } // namespace vpd
25 } // namespace openpower
26