diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-03 12:51:02 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-03 12:51:02 +0200 |
commit | ec0e2c3e7df6addc02431628daddfeae49b92af7 (patch) | |
tree | 09377ca7ce8c0d67b7760f3db7680949ff480bc2 /template.h | |
parent | d747083e54badeeb45f3d46df2916047e60021b4 (diff) | |
download | rsyslog-ec0e2c3e7df6addc02431628daddfeae49b92af7.tar.gz rsyslog-ec0e2c3e7df6addc02431628daddfeae49b92af7.tar.xz rsyslog-ec0e2c3e7df6addc02431628daddfeae49b92af7.zip |
added a new way how output plugins may be passed parameters.
This is more efficient for some outputs. They new can receive fields not only
as a single string but rather in an array where each string is seperated.
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -126,6 +126,7 @@ void tplLastStaticInit(struct template *tpl); * BEFORE msg.h, even if your code file does not actually need it. * rgerhards, 2007-08-06 */ +rsRetVal tplToArray(struct template *pTpl, msg_t *pMsg, uchar*** ppArr); rsRetVal tplToString(struct template *pTpl, msg_t *pMsg, uchar** ppSz); rsRetVal doSQLEscape(uchar **pp, size_t *pLen, unsigned short *pbMustBeFreed, int escapeMode); |