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 | |||||
Alpana Kumari | 26a74af | 2019-09-10 23:53:58 -0500 | [diff] [blame^] | 12 | /** @brief API to parse VPD |
Deepak Kodihalli | 86c7388 | 2016-11-21 05:11:31 -0600 | [diff] [blame] | 13 | * |
Alpana Kumari | 26a74af | 2019-09-10 23:53:58 -0500 | [diff] [blame^] | 14 | * @param [in] vpd - VPD in binary format |
Deepak Kodihalli | 86c7388 | 2016-11-21 05:11:31 -0600 | [diff] [blame] | 15 | * @returns A Store object, which provides access to |
Alpana Kumari | 26a74af | 2019-09-10 23:53:58 -0500 | [diff] [blame^] | 16 | * the parsed VPD. |
Deepak Kodihalli | 86c7388 | 2016-11-21 05:11:31 -0600 | [diff] [blame] | 17 | */ |
18 | Store parse(Binary&& vpd); | ||||
19 | |||||
20 | } // namespace vpd | ||||
21 | } // namespace openpower |