blob: 2b8da6013c89772eb98251a3f0de09b9fdf3db41 [file] [log] [blame]
Deepak Kodihallifc1023d2016-11-22 10:45:38 -06001#include "parser.hpp"
Patrick Venturec83c4dc2018-11-01 16:29:18 -07002
Deepak Kodihallifc1023d2016-11-22 10:45:38 -06003#include "impl.hpp"
4
5namespace openpower
6{
7namespace vpd
8{
9
10Store parse(Binary&& vpd)
11{
12 parser::Impl p(std::move(vpd));
13 Store s = p.run();
14 return s;
15}
16
SunnySrivastava1984f6d541e2020-02-04 12:50:40 -060017namespace keyword
18{
19namespace editor
20{
21
22void processHeader(Binary&& vpd)
23{
24 parser::Impl p(std::move(vpd));
25 p.checkVPDHeader();
26}
27
28} // namespace editor
29} // namespace keyword
30
Deepak Kodihallifc1023d2016-11-22 10:45:38 -060031} // namespace vpd
32} // namespace openpower