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: https://origsvn.digium.com/svn/asterisk/trunk@54219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
0e2c86820b
commit
3b7cfbb80d
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue