summaryrefslogtreecommitdiffstats
path: root/sensorhandler.h
diff options
context:
space:
mode:
authorTom <tomjoseph@in.ibm.com>2016-09-20 18:24:13 +0530
committerPatrick Williams <patrick@stwcx.xyz>2016-09-23 13:03:41 +0000
commitd700e76abb015ff7f7cd3df2769e1f91b452020a (patch)
tree9858482c654021f9004559f9cd285ad92593f140 /sensorhandler.h
parent8b4700521afc5760474fc82ebeb861c2c84118da (diff)
downloadphosphor-host-ipmid-d700e76abb015ff7f7cd3df2769e1f91b452020a.tar.gz
phosphor-host-ipmid-d700e76abb015ff7f7cd3df2769e1f91b452020a.zip
Refactor the code related to Sensor handling
The sensor related code is moved to sensorhandler.c. These changes were part of the ipmi daemon code and would have to replicated in RMCP daemon. The refactoring would get away with those changes. Change-Id: Ib9e1a1929282221e6f259e4a54502eea82f42939 Signed-off-by: Tom <tomjoseph@in.ibm.com>
Diffstat (limited to 'sensorhandler.h')
-rw-r--r--sensorhandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sensorhandler.h b/sensorhandler.h
index dd940dc..e8e46a5 100644
--- a/sensorhandler.h
+++ b/sensorhandler.h
@@ -20,4 +20,8 @@ struct dbus_interface_t {
char path[MAX_DBUS_PATH];
char interface[MAX_DBUS_PATH];
};
+
+int set_sensor_dbus_state_s(uint8_t , const char *, const char *);
+int set_sensor_dbus_state_y(uint8_t , const char *, const uint8_t);
+int find_openbmc_path(const char *, const uint8_t , dbus_interface_t *);
#endif
OpenPOWER on IntegriCloud