mod_fifo: Document fifo_queue_popfly()

This commit is contained in:
Travis Cross 2014-05-26 15:01:06 +00:00
parent b914c2374d
commit 077579b131
1 changed files with 6 additions and 0 deletions

View File

@ -309,6 +309,12 @@ static switch_status_t fifo_queue_pop_nameval(fifo_queue_t *queue, const char *n
return SWITCH_STATUS_SUCCESS;
}
/*! \brief Destroy event with given uuid and remove it from queue
*
* Elements of the queue are searched until a matching uuid is found.
* That uuid is then destroyed and removed from the queue. The
* remaining elements are shifted to make them contiguous.
*/
static switch_status_t fifo_queue_popfly(fifo_queue_t *queue, const char *uuid)
{
int i, j;