summaryrefslogtreecommitdiffstats
path: root/read_fru_data.hpp
diff options
context:
space:
mode:
authorMarri Devender Rao <devenrao@in.ibm.com>2017-07-10 01:49:54 -0500
committerMarri Devender Rao <devenrao@in.ibm.com>2017-07-26 03:12:42 -0500
commit908f75075bfb4ece993d6dcfb00ceccbe3983f59 (patch)
treea1bc0d7480828b224a17d44839b86ff17871cf2b /read_fru_data.hpp
parentc9d7d0197566faef14f290ebfc2695c93eb4cb85 (diff)
downloadphosphor-host-ipmid-908f75075bfb4ece993d6dcfb00ceccbe3983f59.tar.gz
phosphor-host-ipmid-908f75075bfb4ece993d6dcfb00ceccbe3983f59.zip
cater for property change signal to invalidate fru data
Resolves openbmc/openbmc#1560 Change-Id: I90897959dab76181a6006c372c4b60cc1bdd0c0c Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Diffstat (limited to 'read_fru_data.hpp')
-rw-r--r--read_fru_data.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/read_fru_data.hpp b/read_fru_data.hpp
index f536cf2..d715858 100644
--- a/read_fru_data.hpp
+++ b/read_fru_data.hpp
@@ -18,5 +18,11 @@ using FRUAreaMap = std::map<FRUId, FruAreaData>;
*/
const FruAreaData& getFruAreaData(const FRUId& fruNum);
+/**
+ * @brief Register callback handler into DBUS for PropertyChange events
+ *
+ * @return negative value on failure
+ */
+int registerCallbackHandler();
} //fru
} //ipmi
OpenPOWER on IntegriCloud