Add API to parse OpenPOWER VPD

This change defines an API to parse OpenPOWER format VPD. The
API expects OpenPOWER binary VPD as input, parses the same and returns a
Store object. The Store object stores parsed VPD, and makes it easy to
access the same.

Change-Id: Icfb62d848dd92205ab3ab49f05c6521297434c72
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/parser.hpp b/parser.hpp
new file mode 100644
index 0000000..04949f9
--- /dev/null
+++ b/parser.hpp
@@ -0,0 +1,20 @@
+#pragma once
+
+#include <vector>
+#include "store.hpp"
+
+namespace openpower
+{
+namespace vpd
+{
+
+/** @brief API to parse OpenPOWER VPD
+ *
+ *  @param [in] vpd - OpenPOWER VPD in binary format
+ *  @returns A Store object, which provides access to
+ *  the parsed VPD
+ */
+Store parse(Binary&& vpd);
+
+} // namespace vpd
+} // namespace openpower