diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-01-19 15:37:56 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-01-19 15:37:56 +0100 |
commit | 46605923a27acdb7a061e0135e977bfac9b8a6c5 (patch) | |
tree | fd72980d615d0143236db5095bffe3f8aae36675 /runtime/stream.h | |
parent | 3fe63651667d3b74c2f9c97824cb9ed65913a99e (diff) | |
download | rsyslog-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.h | 3 |
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 */ |