summaryrefslogtreecommitdiffstats
path: root/runtime/stream.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-01-19 15:37:56 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-01-19 15:37:56 +0100
commit46605923a27acdb7a061e0135e977bfac9b8a6c5 (patch)
treefd72980d615d0143236db5095bffe3f8aae36675 /runtime/stream.h
parent3fe63651667d3b74c2f9c97824cb9ed65913a99e (diff)
downloadrsyslog-46605923a27acdb7a061e0135e977bfac9b8a6c5.tar.gz
rsyslog-46605923a27acdb7a061e0135e977bfac9b8a6c5.tar.bz2
rsyslog-46605923a27acdb7a061e0135e977bfac9b8a6c5.zip
refactor: removing dead apc code
another concept that did not prove valuable enough to be kept active. For the last couple of releases, the dead code was kept inside the project as we thought we could probably reuse it. Doesn't look so...
Diffstat (limited to 'runtime/stream.h')
-rw-r--r--runtime/stream.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/stream.h b/runtime/stream.h
index 60c68cb2..a01929f2 100644
--- a/runtime/stream.h
+++ b/runtime/stream.h
@@ -70,7 +70,6 @@
#include "glbl.h"
#include "stream.h"
#include "zlibw.h"
-#include "apc.h"
/* stream types */
typedef enum {
@@ -126,7 +125,6 @@ typedef struct strm_s {
sbool bStopWriter; /* shall writer thread terminate? */
sbool bDoTimedWait; /* instruct writer thread to do a times wait to support flush timeouts */
int iFlushInterval; /* flush in which interval - 0, no flushing */
- apc_id_t apcID; /* id of current Apc request (used for cancelling) */
pthread_mutex_t mut;/* mutex for flush in async mode */
pthread_cond_t notFull;
pthread_cond_t notEmpty;
@@ -139,7 +137,6 @@ typedef struct strm_s {
size_t lenBuf;
} asyncBuf[STREAM_ASYNC_NUMBUFS];
pthread_t writerThreadID;
- int apcRequested; /* is an apc Requested? */
/* support for omfile size-limiting commands, special counters, NOT persisted! */
off_t iSizeLimit; /* file size limit, 0 = no limit */
uchar *pszSizeLimitCmd; /* command to carry out when size limit is reached */