parser : process OpenPOWER VPD record
This change adds implementation to look at record information within
OpenPOWER VPD, check if the record is of interest to us, and if yes -
proceed to read record information, for further parsing and storage.
Change-Id: Ic6df6c88c104fc588d645e626391561a754e741e
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/impl.hpp b/impl.hpp
index 31bf22a..846d34a 100644
--- a/impl.hpp
+++ b/impl.hpp
@@ -79,6 +79,14 @@
internal::OffsetList readPT(Binary::const_iterator iterator,
std::size_t ptLen) const;
+ /** @brief Read VPD information contained within a record
+ *
+ * @param[in] recordOffset - offset to a record location
+ * within the binary OpenPOWER VPD
+ */
+ void processRecord(std::size_t recordOffset);
+
+
/** @brief Checks if the VHDR record is present in the VPD */
void checkHeader() const;