Add doxygen to accessors and increase refcount of taskprocessor before returning.

git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@379127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2013-01-15 21:15:04 +00:00
parent 967e380ba8
commit a73d6e5b86
3 changed files with 21 additions and 0 deletions

View File

@@ -114,6 +114,11 @@ struct ast_threadpool_options {
struct ast_threadpool_listener *ast_threadpool_listener_alloc(
const struct ast_threadpool_listener_callbacks *callbacks, void *user_data);
/*!
* \brief Get the threadpool listener's user data
* \param listener The threadpool listener
* \return The user data
*/
void *ast_threadpool_listener_get_user_data(const struct ast_threadpool_listener *listener);
/*!