summaryrefslogtreecommitdiffstats
path: root/queue.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-05 13:39:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-05 13:39:40 +0000
commit62154cdde95ad579d4b2b98f59fac4817be8a0f4 (patch)
tree29a65e0ece3080baa9015436ce0704da83d8f06e /queue.h
parente055d4921b9a53e9dfedc56bbff3a9b12400d34d (diff)
downloadrsyslog-62154cdde95ad579d4b2b98f59fac4817be8a0f4.tar.gz
rsyslog-62154cdde95ad579d4b2b98f59fac4817be8a0f4.tar.xz
rsyslog-62154cdde95ad579d4b2b98f59fac4817be8a0f4.zip
added the "direct" queueing mode to queue class (no queing at all)
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/queue.h b/queue.h
index 7ad9b1e1..a01f2496 100644
--- a/queue.h
+++ b/queue.h
@@ -30,7 +30,8 @@
typedef enum {
QUEUETYPE_FIXED_ARRAY = 0,/* a simple queue made out of a fixed (initially malloced) array fast but memoryhog */
QUEUETYPE_LINKEDLIST = 1, /* linked list used as buffer, lower fixed memory overhead but slower */
- QUEUETYPE_DISK = 2 /* disk files used as buffer */
+ QUEUETYPE_DISK = 2, /* disk files used as buffer */
+ QUEUETYPE_DIRECT = 3 /* no queuing happens, consumer is directly called */
} queueType_t;
/* list member definition for linked list types of queues: */