summaryrefslogtreecommitdiffstats
path: root/src/include/usr/targeting/entitypath.H
diff options
context:
space:
mode:
authorVan Lee <vanlee@us.ibm.com>2012-01-18 11:20:33 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-02-01 17:12:09 -0600
commit06b768407e1d6e212aeed8be23f31dfb27f2a9cc (patch)
tree4cc7d0295a8efc225b243ea13983803bfda213f7 /src/include/usr/targeting/entitypath.H
parent3537d669cce337e37790cf7be62a817cbc88c811 (diff)
downloadblackbird-hostboot-06b768407e1d6e212aeed8be23f31dfb27f2a9cc.tar.gz
blackbird-hostboot-06b768407e1d6e212aeed8be23f31dfb27f2a9cc.zip
Common Errl FFDC Classes: DCUT - RTC4289
Change-Id: Ie0c7cc6422d30fe0b5449eb54aaa62ebb54774e7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/618 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/targeting/entitypath.H')
-rw-r--r--src/include/usr/targeting/entitypath.H9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/usr/targeting/entitypath.H b/src/include/usr/targeting/entitypath.H
index da31e0380..4e24a9410 100644
--- a/src/include/usr/targeting/entitypath.H
+++ b/src/include/usr/targeting/entitypath.H
@@ -421,6 +421,15 @@ class EntityPath
*/
void dump() const;
+ /**
+ * @brief Save the entity path as a c-string
+ *
+ * @return the dynamic buffer pointer of the c-string
+ *
+ * @note caller must call free() to release the buffer
+ */
+ char * toString() const;
+
private:
PATH_TYPE iv_type : 4; ///< Entity path type (4 bits)
OpenPOWER on IntegriCloud