diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-11 09:12:20 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-11 09:12:20 +0200 |
commit | f85690620b74c076de8f26059e5914f72a8bd912 (patch) | |
tree | 2b03f3b2d8ce22b90e2239d87459074819dcfd2b /template.h | |
parent | dc724fcd2e1a8fcd8c2b3c309fa1c1a3f7bc73ea (diff) | |
download | rsyslog-f85690620b74c076de8f26059e5914f72a8bd912.tar.gz rsyslog-f85690620b74c076de8f26059e5914f72a8bd912.tar.bz2 rsyslog-f85690620b74c076de8f26059e5914f72a8bd912.zip |
do "template date call" only when actually needed
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -142,6 +142,7 @@ void tplDeleteNew(rsconf_t *conf); void tplPrintList(rsconf_t *conf); void tplLastStaticInit(rsconf_t *conf, struct template *tpl); rsRetVal ExtendBuf(uchar **pBuf, size_t *pLenBuf, size_t iMinSize); +int tplRequiresDateCall(struct template *pTpl); /* note: if a compiler warning for undefined type tells you to look at this * code line below, the actual cause is that you currently MUST include template.h * BEFORE msg.h, even if your code file does not actually need it. |