Deepak Kodihalli | 86c7388 | 2016-11-21 05:11:31 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Deepak Kodihalli | 86c7388 | 2016-11-21 05:11:31 -0600 | [diff] [blame] | 3 | #include "store.hpp" |
| 4 | |
Patrick Venture | c83c4dc | 2018-11-01 16:29:18 -0700 | [diff] [blame] | 5 | #include <vector> |
| 6 | |
Deepak Kodihalli | 86c7388 | 2016-11-21 05:11:31 -0600 | [diff] [blame] | 7 | namespace openpower |
| 8 | { |
| 9 | namespace vpd |
| 10 | { |
| 11 | |
| 12 | /** @brief API to parse OpenPOWER VPD |
| 13 | * |
| 14 | * @param [in] vpd - OpenPOWER VPD in binary format |
| 15 | * @returns A Store object, which provides access to |
| 16 | * the parsed VPD |
| 17 | */ |
| 18 | Store parse(Binary&& vpd); |
| 19 | |
| 20 | } // namespace vpd |
| 21 | } // namespace openpower |