aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-13 20:57:41 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-13 20:57:41 +0000
commit4b62a35dfbfa654aec095e9d58ca84528a3a551d (patch)
tree9ef0a78d0ae8a591ed2aef340711277fcfa3f2d0 /include
parent2387cd4cdf49d27e099e13b25938f4290a023b56 (diff)
Merged revisions 54218 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r54218 | russell | 2007-02-13 14:56:50 -0600 (Tue, 13 Feb 2007) | 3 lines Fix the documentation on the return values from device state provider registration and deletion. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54219 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/devicestate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asterisk/devicestate.h b/include/asterisk/devicestate.h
index 85a1235c9..042ffc2cf 100644
--- a/include/asterisk/devicestate.h
+++ b/include/asterisk/devicestate.h
@@ -108,13 +108,14 @@ void ast_devstate_del(ast_devstate_cb_type callback, void *data);
/*! \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);