pldm: Rearranging datatype declaration
This commit adds support to eliminating duplication of datatypes which
enhancing clarity and manageability throughout the pldm repository.
This is rearrangement of declaration of data types so it can be used
host-bmc and oem layer both the places.
Change-Id: Ieb1232884b8e2128e8bf97dafd01e4ad5524ede0
Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
diff --git a/host-bmc/host_pdr_handler.hpp b/host-bmc/host_pdr_handler.hpp
index 0af0f63..4fafe8d 100644
--- a/host-bmc/host_pdr_handler.hpp
+++ b/host-bmc/host_pdr_handler.hpp
@@ -23,7 +23,6 @@
namespace pldm
{
-using EntityType = uint16_t;
// vector which would hold the PDR record handle data returned by
// pldmPDRRepositoryChgEvent event data
using ChangeEntry = uint32_t;
@@ -324,11 +323,11 @@
/** @brief maps an object path to pldm_entity from the BMC's entity
* association tree
*/
- ObjectPathMaps objPathMap;
+ pldm::utils::ObjectPathMaps objPathMap;
/** @brief maps an entity name to map, maps to entity name to pldm_entity
*/
- EntityAssociations entityAssociations;
+ pldm::utils::EntityAssociations entityAssociations;
/** @brief the vector of FRU Record Data Format
*/
@@ -339,7 +338,7 @@
/** @brief entityID and entity name is only loaded once
*/
- EntityMaps entityMaps;
+ pldm::utils::EntityMaps entityMaps;
};
} // namespace pldm