]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_fifo: Document remove parameter of fifo_queue_pop()
authorTravis Cross <tc@traviscross.com>
Mon, 26 May 2014 14:42:20 +0000 (14:42 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 28 May 2014 01:32:03 +0000 (01:32 +0000)
src/mod/applications/mod_fifo/mod_fifo.c

index d60cc71e269968d4a6dacb8559ee47cb61b000eb..1cf1d0cf9e2d1bb202ab4e5a9c3c8c508fb44830 100644 (file)
@@ -197,6 +197,12 @@ static int fifo_queue_size(fifo_queue_t *queue)
        return s;
 }
 
+/*!
+ * \param remove Whether to remove the popped event from the queue
+ * If remove is 0, do not remove the popped event.  If it is 1, remove
+ * it if it is not an event for an outbound caller.  If it is 2,
+ * always remove it.
+ */
 static switch_status_t fifo_queue_pop(fifo_queue_t *queue, switch_event_t **pop, int remove)
 {
        int i, j;