diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-08 13:37:19 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-08 13:37:19 +0000 |
commit | 8d0a174a86d29dbec6412cb1bd38f87b3b3c059b (patch) | |
tree | bcaf1c0cdbdd015eb3366d9af5ec4f9a2ddf9e4a /queue.h | |
parent | 47ccbe9c67c0b3ca518449d80be387ca09904026 (diff) | |
download | rsyslog-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |