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