summaryrefslogtreecommitdiffstats
path: root/tcpsrv.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-09-02 12:34:46 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-09-02 12:34:46 +0200
commit743a2ddf9f5bd4c9eca521d45c184788c93b4ce8 (patch)
tree65f6a23e91005a28743ed17c5f75522b8f59695f /tcpsrv.h
parentc8ac47b5895526b524551c9810ad39f086ee76ca (diff)
parent7acbde62c53792ab9a9c1317ec197fe4446941e6 (diff)
downloadrsyslog-743a2ddf9f5bd4c9eca521d45c184788c93b4ce8.tar.gz
rsyslog-743a2ddf9f5bd4c9eca521d45c184788c93b4ce8.tar.bz2
rsyslog-743a2ddf9f5bd4c9eca521d45c184788c93b4ce8.zip
Merge branch 'c9'
Conflicts: runtime/msg.c
Diffstat (limited to 'tcpsrv.h')
-rw-r--r--tcpsrv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcpsrv.h b/tcpsrv.h
index c9d491db..7fe517a4 100644
--- a/tcpsrv.h
+++ b/tcpsrv.h
@@ -43,6 +43,7 @@ struct tcpLstnPortList_s {
statsobj_t *stats; /**< associated stats object */
sbool bSuppOctetFram; /**< do we support octect-counted framing? (if no->legay only!)*/
ratelimit_t *ratelimiter;
+ uchar dfltTZ[8]; /**< default TZ if none in timestamp; '\0' =No Default */
STATSCOUNTER_DEF(ctrSubmit, mutCtrSubmit)
tcpLstnPortList_t *pNext; /**< next port or NULL */
};
@@ -67,6 +68,7 @@ struct tcpsrv_s {
tcpLstnPortList_t **ppLstnPort; /**< pointer to relevant listen port description */
int iLstnMax; /**< max number of listeners supported */
int iSessMax; /**< max number of sessions supported */
+ uchar dfltTZ[8]; /**< default TZ if none in timestamp; '\0' =No Default */
tcpLstnPortList_t *pLstnPorts; /**< head pointer for listen ports */
int addtlFrameDelim; /**< additional frame delimiter for plain TCP syslog framing (e.g. to handle NetScreen) */
@@ -147,6 +149,8 @@ BEGINinterface(tcpsrv) /* name must also be changed in ENDinterface macro! */
rsRetVal (*SetKeepAlive)(tcpsrv_t*, int);
/* added v13 -- rgerhards, 2012-10-15 */
rsRetVal (*SetLinuxLikeRatelimiters)(tcpsrv_t *pThis, int interval, int burst);
+ /* added v14 -- rgerhards, 2013-07-28 */
+ rsRetVal (*SetDfltTZ)(tcpsrv_t *pThis, uchar *dfltTZ);
ENDinterface(tcpsrv)
#define tcpsrvCURR_IF_VERSION 13 /* increment whenever you change the interface structure! */
/* change for v4: