summaryrefslogtreecommitdiffstats
path: root/dirty.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-03 12:39:48 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-03 12:39:48 +0100
commit6f511cecfae3592f271627ebcb41e6a8c4f831e9 (patch)
treefbc67531528d42ba50c66e1d9129792bad5a3cc5 /dirty.h
parent7d78b3bdfd357dd921797ce983eb96532c56a7f6 (diff)
downloadrsyslog-6f511cecfae3592f271627ebcb41e6a8c4f831e9.tar.gz
rsyslog-6f511cecfae3592f271627ebcb41e6a8c4f831e9.tar.xz
rsyslog-6f511cecfae3592f271627ebcb41e6a8c4f831e9.zip
more cleanup and working towards a parser module calling interface
I cleaned up a lot of config variable access along the way. This version compiles and runs, but does not yet offer any enhanced functionality. pmrfc5424 is just a dummy that is not yet being used.
Diffstat (limited to 'dirty.h')
-rw-r--r--dirty.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/dirty.h b/dirty.h
index af324892..dcfe8bf1 100644
--- a/dirty.h
+++ b/dirty.h
@@ -46,28 +46,9 @@ extern int MarkInterval;
extern int repeatinterval[2];
extern int bReduceRepeatMsgs;
extern qqueue_t *pMsgQueue; /* the main message queue */
-extern int bParseHOSTNAMEandTAG; /* global config var: should the hostname and tag be */
#define MAXREPEAT ((int)((sizeof(repeatinterval) / sizeof(repeatinterval[0])) - 1))
#define REPEATTIME(f) ((f)->f_time + repeatinterval[(f)->f_repeatcount])
#define BACKOFF(f) { if (++(f)->f_repeatcount > MAXREPEAT) \
(f)->f_repeatcount = MAXREPEAT; \
}
-extern int bDropTrailingLF;
-extern uchar cCCEscapeChar;
-extern int bEscapeCCOnRcv;
-#ifdef USE_NETZIP
-/* config param: minimum message size to try compression. The smaller
- * the message, the less likely is any compression gain. We check for
- * gain before we submit the message. But to do so we still need to
- * do the (costly) compress() call. The following setting sets a size
- * for which no call to compress() is done at all. This may result in
- * a few more bytes being transmited but better overall performance.
- * Note: I have not yet checked the minimum UDP packet size. It might be
- * that we do not save anything by compressing very small messages, because
- * UDP might need to pad ;)
- * rgerhards, 2006-11-30
- */
-#define MIN_SIZE_FOR_COMPRESS 60
-#endif
-
#endif /* #ifndef DIRTY_H_INCLUDED */