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