提交 578aa78e authored 作者: Mathieu Rene's avatar Mathieu Rene

Update doxygen for switch_channel_variable_first and switch_channel_variable_last

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13227 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a4a82b2a
...@@ -247,13 +247,16 @@ SWITCH_DECLARE(const char *) switch_channel_get_variable(switch_channel_t *chann ...@@ -247,13 +247,16 @@ SWITCH_DECLARE(const char *) switch_channel_get_variable(switch_channel_t *chann
SWITCH_DECLARE(switch_status_t) switch_channel_get_variables(switch_channel_t *channel, switch_event_t **event); SWITCH_DECLARE(switch_status_t) switch_channel_get_variables(switch_channel_t *channel, switch_event_t **event);
/*! /*!
* Start iterating over the entries in the channel variable list. * \brief Start iterating over the entries in the channel variable list.
* @param channel the channel to intterate the variales for * \param channel the channel to iterate the variables for
* @remark Use switch_hash_next and switch_hash_this with this function to iterate all the channel variables * \remark This function locks the profile mutex, use switch_channel_variable_last to unlock
*/ */
SWITCH_DECLARE(switch_event_header_t *) switch_channel_variable_first(switch_channel_t *channel); SWITCH_DECLARE(switch_event_header_t *) switch_channel_variable_first(switch_channel_t *channel);
/*!
* \brief Stop iterating over channel variables.
* \remark Unlocks the profile mutex initially locked in switch_channel_variable_first
*/
SWITCH_DECLARE(void) switch_channel_variable_last(switch_channel_t *channel); SWITCH_DECLARE(void) switch_channel_variable_last(switch_channel_t *channel);
/*! /*!
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论