Deepak Kodihalli | 82c1e56 | 2016-11-28 06:06:50 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Deepak Kodihalli | 82c1e56 | 2016-11-28 06:06:50 -0600 | [diff] [blame] | 3 | #include <store.hpp> |
Patrick Venture | c83c4dc | 2018-11-01 16:29:18 -0700 | [diff] [blame] | 4 | #include <string> |
Deepak Kodihalli | 82c1e56 | 2016-11-28 06:06:50 -0600 | [diff] [blame] | 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 | */ |
Patrick Venture | c83c4dc | 2018-11-01 16:29:18 -0700 | [diff] [blame] | 19 | void write(const std::string& type, const Store& vpdStore, |
Deepak Kodihalli | 82c1e56 | 2016-11-28 06:06:50 -0600 | [diff] [blame] | 20 | const std::string& path); |
| 21 | |
Patrick Venture | c83c4dc | 2018-11-01 16:29:18 -0700 | [diff] [blame] | 22 | } // namespace inventory |
Deepak Kodihalli | 82c1e56 | 2016-11-28 06:06:50 -0600 | [diff] [blame] | 23 | } // namespace vpd |
| 24 | } // namespace openpower |