summaryrefslogtreecommitdiffstats
path: root/types.hpp
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2018-01-24 11:51:29 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2018-01-30 04:00:55 +0000
commitb0adbcdd5a854702c8eab02a63ff08936103540e (patch)
tree99326dfa2cf1befedbdf552f49b7998c31996b8b /types.hpp
parent6fcdc21b16410fa8475417c0ff9bb761da4aed05 (diff)
downloadphosphor-host-ipmid-b0adbcdd5a854702c8eab02a63ff08936103540e.tar.gz
phosphor-host-ipmid-b0adbcdd5a854702c8eab02a63ff08936103540e.zip
sensor: Add support for multiple sensor naming pattern
Change-Id: Ibf58d4a4f5a2783a9152f4b5f685e28ef527c5e2 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'types.hpp')
-rw-r--r--types.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/types.hpp b/types.hpp
index 62f7db7..2580063 100644
--- a/types.hpp
+++ b/types.hpp
@@ -115,6 +115,9 @@ using Exponent = uint8_t;
using ScaledOffset = int64_t;
using Scale = int16_t;
using Unit = std::string;
+using EntityType = uint8_t;
+using EntityInst = uint8_t;
+using SensorName = std::string;
enum class Mutability
{
OpenPOWER on IntegriCloud