summaryrefslogtreecommitdiffstats
path: root/queue.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-09 17:25:07 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-09 17:25:07 +0000
commitaa7e00d8e1a1d67fa2860623ffab75bd387faffc (patch)
treebf8d5fbf99050a010c1918d8a3a1168cdb43fe84 /queue.h
parentfd8c6452c8a4d51d39eb511046fca09391138a22 (diff)
downloadrsyslog-aa7e00d8e1a1d67fa2860623ffab75bd387faffc.tar.gz
rsyslog-aa7e00d8e1a1d67fa2860623ffab75bd387faffc.tar.xz
rsyslog-aa7e00d8e1a1d67fa2860623ffab75bd387faffc.zip
changed queue class to use stream class
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/queue.h b/queue.h
index 1cbd52b4..df4146f6 100644
--- a/queue.h
+++ b/queue.h
@@ -25,6 +25,7 @@
#include <pthread.h>
#include "obj.h"
+#include "stream.h"
/* some information about disk files used by the queue. In the long term, we may
* export this settings to a separate file module - or not (if they are too
@@ -100,8 +101,8 @@ typedef struct queue_s {
qLinkedList_t *pLast;
} linklist;
struct {
- queueFileDescription_t fWrite; /* current file to be written */
- queueFileDescription_t fRead; /* current file to be read */
+ strm_t *pWrite; /* current file to be written */
+ strm_t *pRead; /* current file to be read */
} disk;
} tVars;
} queue_t;