From 3b7cfbb80de816d4ece0492668ec9fe2beb7358a Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 13 Feb 2007 20:57:41 +0000 Subject: [PATCH] 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 --- include/asterisk/devicestate.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/asterisk/devicestate.h b/include/asterisk/devicestate.h index 85a1235c93..042ffc2cf8 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);