Create subfunctions in vpd-tool to reuse
This commit aims in creating sub-functions in vpd-tool
fixSystemVPD implementation, so that the code can be reused in
future.
Test:
Tested that vpd-tool --fixSystemVPD option works as expected.
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
Change-Id: I6885b5642492a85a7087055a4b1bcf65c857c3ba
diff --git a/types.hpp b/types.hpp
index 6579f99..cb7a121 100644
--- a/types.hpp
+++ b/types.hpp
@@ -74,6 +74,9 @@
* reset required }} **/
using SystemKeywordsMap =
std::unordered_map<RecordName, std::vector<SystemKeywordInfo>>;
+
+using GetAllResultType = std::vector<std::pair<Keyword, Value>>;
+using IntfPropMap = std::map<RecordName, GetAllResultType>;
} // namespace inventory
} // namespace vpd