[svn-commits] eliel: branch group/data_api_gsoc2009 r199295 - /team/group/data_api_gsoc2009...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jun 5 15:59:26 CDT 2009


Author: eliel
Date: Fri Jun  5 15:59:23 2009
New Revision: 199295

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=199295
Log:
We will have ast_data_retrieve_str to retrieve an ast_str
and a ast_data_retrieve_char to retrieve a char *.


Modified:
    team/group/data_api_gsoc2009/include/asterisk/data.h

Modified: team/group/data_api_gsoc2009/include/asterisk/data.h
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/data_api_gsoc2009/include/asterisk/data.h?view=diff&rev=199295&r1=199294&r2=199295
==============================================================================
--- team/group/data_api_gsoc2009/include/asterisk/data.h (original)
+++ team/group/data_api_gsoc2009/include/asterisk/data.h Fri Jun  5 15:59:23 2009
@@ -214,6 +214,16 @@
 int ast_data_retrieve_str(struct ast_data *tree, const char *path, const struct ast_str **value);
 
 /*!
+ * \brief Retrieve an string from a node in the tree.
+ * \param[in] tree A pointer to the tree structure returned by a call to ast_data_get.
+ * \param[in] path The path to the string node.
+ * \param[out] value The node content.
+ * \retval 0 on success.
+ * \retval < 0 on error.
+ */
+int ast_data_retrieve_char(struct ast_data *tree, const char *path, const char **value);
+
+/*!
  * \brief Retrieve the boolean value of a node.
  * \param[in] tree The pointer to the tree structure returned by a call to ast_data_get.
  * \param[in] path The path to the boolean node.




More information about the svn-commits mailing list