Merged revisions 54218 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 13 Feb 2007 20:57:41 +0000 (20:57 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 13 Feb 2007 20:57:41 +0000 (20:57 +0000)
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: https://origsvn.digium.com/svn/asterisk/trunk@54219 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/devicestate.h

index 85a1235..042ffc2 100644 (file)
@@ -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);