diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-05 13:39:40 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-05 13:39:40 +0000 |
commit | 62154cdde95ad579d4b2b98f59fac4817be8a0f4 (patch) | |
tree | 29a65e0ece3080baa9015436ce0704da83d8f06e /queue.h | |
parent | e055d4921b9a53e9dfedc56bbff3a9b12400d34d (diff) | |
download | rsyslog-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: */ |