data tree FEATURE function getting string from anydata
diff --git a/src/tree_data.h b/src/tree_data.h
index 56ff3fd..295603f 100644
--- a/src/tree_data.h
+++ b/src/tree_data.h
@@ -208,6 +208,7 @@
* - ::lyd_free_attr_single()
* - ::lyd_free_attr_siblings()
*
+ * - ::lyd_any_value_str()
* - ::lyd_any_copy_value()
*/
@@ -872,6 +873,15 @@
int lyd_lyb_data_length(const char *data);
/**
+ * @brief Get anydata string value.
+ *
+ * @param[in] any Anyxml/anydata node to read from.
+ * @param[out] value_str String representation of the value.
+ * @return LY_ERR value.
+ */
+LY_ERR lyd_any_value_str(const struct lyd_node *any, char **value_str);
+
+/**
* @brief Copy anydata value from one node to another. Target value is freed first.
*
* @param[in,out] trg Target node.