aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-13 20:56:50 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-13 20:56:50 +0000
commitc0a9497bec86ca244011f1c08ad65bea23a0ba13 (patch)
tree73d4e2ce6c22e24b2ca7501007379c076209c70f /include
parent464051f1169633e07fc4c5d52449b22b1b4b2b1a (diff)
Fix the documentation on the return values from device state provider
registration and deletion. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54218 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 97d24c16f..ed9022fbd 100644
--- a/include/asterisk/devicestate.h
+++ b/include/asterisk/devicestate.h
@@ -113,13 +113,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);