From 42ebfbfc5980baa35fbf9c1e4704201ec8dfcb8f Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Mon, 26 May 2014 18:00:02 +0000 Subject: [PATCH] mod_fifo: Document the fifo_queue_t structure --- src/mod/applications/mod_fifo/mod_fifo.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index 911cd1fa4d..42f030d3c5 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -111,6 +111,16 @@ typedef enum { NODE_STRATEGY_ENTERPRISE } outbound_strategy_t; +/*!\struct fifo_queue_t + * \brief Queue of callers + * + * Callers are placed into a queue as events in `data` which is an + * array of such events. The array size is hard-coded as 1000 + * elements. + * + * Fifo nodes are composed of an array of these queues representing + * each priority level of the fifo. + */ typedef struct { int nelm; int idx;