From 8d0a174a86d29dbec6412cb1bd38f87b3b3c059b Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 8 Jan 2008 13:37:19 +0000 Subject: - 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 --- queue.h | 1 + 1 file changed, 1 insertion(+) (limited to 'queue.h') 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 */ -- cgit