diff options
Diffstat (limited to 'include/asterisk/audiohook.h')
-rw-r--r-- | include/asterisk/audiohook.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/asterisk/audiohook.h b/include/asterisk/audiohook.h index 516c59f6d..1a4e4696a 100644 --- a/include/asterisk/audiohook.h +++ b/include/asterisk/audiohook.h @@ -175,11 +175,12 @@ int ast_audiohook_attach(struct ast_channel *chan, struct ast_audiohook *audioho */ int ast_audiohook_detach(struct ast_audiohook *audiohook); -/*! \brief Detach audiohooks from list and destroy said list - * \param audiohook_list List of audiohooks - * \return Returns 0 on success, -1 on failure +/*! + * \brief Detach audiohooks from list and destroy said list + * \param audiohook_list List of audiohooks (NULL tolerant) + * \return Nothing */ -int ast_audiohook_detach_list(struct ast_audiohook_list *audiohook_list); +void ast_audiohook_detach_list(struct ast_audiohook_list *audiohook_list); /*! \brief Move an audiohook from one channel to a new one * @@ -221,7 +222,9 @@ int ast_audiohook_detach_source(struct ast_channel *chan, const char *source); int ast_audiohook_remove(struct ast_channel *chan, struct ast_audiohook *audiohook); /*! - * \brief determines if a audiohook_list is empty or not. + * \brief Determine if a audiohook_list is empty or not. + * + * \param audiohook Audiohook to check. (NULL also means empty) * * retval 0 false, 1 true */ |