Deepak Kodihalli | 82c1e56 | 2016-11-28 06:06:50 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <string> |
| 4 | #include <store.hpp> |
| 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, |
| 20 | const Store& vpdStore, |
| 21 | const std::string& path); |
| 22 | |
| 23 | } // inventory |
| 24 | } // namespace vpd |
| 25 | } // namespace openpower |