diff options
author | Michael Biebl <biebl@debian.org> | 2008-07-23 02:22:26 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2008-07-23 02:22:26 +0200 |
commit | a0a154c1e0b88afbe3cabc2a5a4d3a4523681576 (patch) | |
tree | 8ab4f9d7e06b45a9874c0d5ad25223de133ef206 /template.h | |
parent | 991c6cc7f1b1586b3fad07460503bb9f7a34ad07 (diff) | |
download | rsyslog-a0a154c1e0b88afbe3cabc2a5a4d3a4523681576.tar.gz |
Imported Upstream version 3.18.1upstream/3.18.1
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -80,6 +80,7 @@ struct templateEntry { unsigned bDropLastLF: 1; /* drop last LF char in msg (PIX!) */ unsigned bSecPathDrop: 1; /* drop slashes, replace dots, empty string */ unsigned bSecPathReplace: 1; /* replace slashes, replace dots, empty string */ + unsigned bSPIffNo1stSP: 1; /* replace slashes, replace dots, empty string */ } options; /* options as bit fields */ } field; } data; @@ -109,7 +110,7 @@ void tplLastStaticInit(struct template *tpl); * rgerhards, 2007-08-06 */ rsRetVal tplToString(struct template *pTpl, msg_t *pMsg, uchar** ppSz); -void doSQLEscape(uchar **pp, size_t *pLen, unsigned short *pbMustBeFreed, int escapeMode); +rsRetVal doSQLEscape(uchar **pp, size_t *pLen, unsigned short *pbMustBeFreed, int escapeMode); rsRetVal templateInit(); |