[asterisk-commits] russell: branch 1.4 r54218 -
/branches/1.4/include/asterisk/devicestate.h
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Feb 13 13:56:51 MST 2007
Author: russell
Date: Tue Feb 13 14:56:50 2007
New Revision: 54218
URL: http://svn.digium.com/view/asterisk?view=rev&rev=54218
Log:
Fix the documentation on the return values from device state provider
registration and deletion.
Modified:
branches/1.4/include/asterisk/devicestate.h
Modified: branches/1.4/include/asterisk/devicestate.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/devicestate.h?view=diff&rev=54218&r1=54217&r2=54218
==============================================================================
--- branches/1.4/include/asterisk/devicestate.h (original)
+++ branches/1.4/include/asterisk/devicestate.h Tue Feb 13 14:56:50 2007
@@ -113,13 +113,14 @@
/*! \brief Add device state provider
* \param label to use in hint, like label:object
* \param callback Callback
- * Return -1 on failure, ID on success
+ * \retval -1 failure
+ * \retval 0 success
*/
int ast_devstate_prov_add(const char *label, ast_devstate_prov_cb_type callback);
/*! \brief Remove device state provider
* \param label to use in hint, like label:object
- * Return -1 on failure, ID on success
+ * \return nothing
*/
void ast_devstate_prov_del(const char *label);
More information about the asterisk-commits
mailing list