summaryrefslogtreecommitdiffstats
path: root/queue.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-08 13:37:19 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-08 13:37:19 +0000
commit8d0a174a86d29dbec6412cb1bd38f87b3b3c059b (patch)
treebcaf1c0cdbdd015eb3366d9af5ec4f9a2ddf9e4a /queue.h
parent47ccbe9c67c0b3ca518449d80be387ca09904026 (diff)
downloadrsyslog-8d0a174a86d29dbec6412cb1bd38f87b3b3c059b.tar.gz
rsyslog-8d0a174a86d29dbec6412cb1bd38f87b3b3c059b.tar.xz
rsyslog-8d0a174a86d29dbec6412cb1bd38f87b3b3c059b.zip
- first implementation of "disk" queue mode finished. It still needs some
work and the deserializer needs also to be expanded, but the queue at least performs well now. - fixed a race condition that could occur when input modules were terminated
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/queue.h b/queue.h
index f7be9215..eb8ef8f6 100644
--- a/queue.h
+++ b/queue.h
@@ -40,6 +40,7 @@ typedef struct {
int iBufPtrMax; /* current max Ptr in Buffer (if partial read!) */
int iBufPtr; /* pointer into current buffer */
int iUngetC; /* char set via UngetChar() call or -1 if none set */
+ int bDeleteOnClose; /* set to 1 to auto-delete on close -- be careful with that setting! */
} queueFileDescription_t;
#define qFILE_IOBUF_SIZE 4096 /* size of the IO buffer */