summaryrefslogtreecommitdiffstats
path: root/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'types.hpp')
-rw-r--r--types.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/types.hpp b/types.hpp
index 555dce3..4ad3306 100644
--- a/types.hpp
+++ b/types.hpp
@@ -51,5 +51,17 @@ using InterfaceMap = std::map<DbusInterface, PropertyMap>;
using Object = sdbusplus::message::object_path;
using ObjectMap = std::map<Object, InterfaceMap>;
+struct SelData
+{
+ Id sensorID;
+ Type sensorType;
+ ReadingType eventReadingType;
+ Offset eventOffset;
+};
+
+using InventoryPath = std::string;
+
+using InvObjectIDMap = std::map<InventoryPath, SelData>;
+
}//namespce sensor
}//namespace ipmi
OpenPOWER on IntegriCloud