Deepak Kodihalli | fc1023d | 2016-11-22 10:45:38 -0600 | [diff] [blame] | 1 | #include "parser.hpp" |
Patrick Venture | c83c4dc | 2018-11-01 16:29:18 -0700 | [diff] [blame] | 2 | |
Deepak Kodihalli | fc1023d | 2016-11-22 10:45:38 -0600 | [diff] [blame] | 3 | #include "impl.hpp" |
| 4 | |
| 5 | namespace openpower |
| 6 | { |
| 7 | namespace vpd |
| 8 | { |
| 9 | |
| 10 | Store parse(Binary&& vpd) |
| 11 | { |
| 12 | parser::Impl p(std::move(vpd)); |
| 13 | Store s = p.run(); |
| 14 | return s; |
| 15 | } |
| 16 | |
SunnySrivastava1984 | f6d541e | 2020-02-04 12:50:40 -0600 | [diff] [blame] | 17 | namespace keyword |
| 18 | { |
| 19 | namespace editor |
| 20 | { |
| 21 | |
| 22 | void processHeader(Binary&& vpd) |
| 23 | { |
| 24 | parser::Impl p(std::move(vpd)); |
| 25 | p.checkVPDHeader(); |
| 26 | } |
| 27 | |
| 28 | } // namespace editor |
| 29 | } // namespace keyword |
| 30 | |
Deepak Kodihalli | fc1023d | 2016-11-22 10:45:38 -0600 | [diff] [blame] | 31 | } // namespace vpd |
| 32 | } // namespace openpower |