summaryrefslogtreecommitdiffstats
path: root/dcmihandler.hpp
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-07-15 00:55:23 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-07-18 21:21:28 +0000
commitbe5b9899d071e8f9937dc2701b53b81bcbed6cc1 (patch)
tree3fd55f1f0b559f87b6b882eba566f652247e0117 /dcmihandler.hpp
parent545dd23205bf90e0e84de028356105d0c898f288 (diff)
downloadphosphor-host-ipmid-be5b9899d071e8f9937dc2701b53b81bcbed6cc1.tar.gz
phosphor-host-ipmid-be5b9899d071e8f9937dc2701b53b81bcbed6cc1.zip
dcmi: asset-tag: Add API to write asset tag to the DBUS object
Change-Id: Ia4bf3f99a865617535c65a023c8e697792cd43b4 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'dcmihandler.hpp')
-rw-r--r--dcmihandler.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/dcmihandler.hpp b/dcmihandler.hpp
index c64e56b..de0d82f 100644
--- a/dcmihandler.hpp
+++ b/dcmihandler.hpp
@@ -96,6 +96,12 @@ void readAssetTagObjectTree(dcmi::assettag::ObjectTree& objectTree);
*/
std::string readAssetTag();
+/** @brief Write the asset tag to the asset tag DBUS property
+ *
+ * @param[in] assetTag - Asset Tag to be written to the property.
+ */
+void writeAssetTag(const std::string& assetTag);
+
} // namespace dcmi
#endif
OpenPOWER on IntegriCloud