diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-22 16:03:45 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-22 16:03:45 +0000 |
commit | 6b24fa20d4da8a57a2e34b1ca0c3159b93157e1e (patch) | |
tree | b77862ccfb9c4b8a4987da934ccc3ef290e37afd /template.h | |
parent | 70c56633497562c8c594cab8f2aa55dd1d7ca5fa (diff) | |
download | rsyslog-6b24fa20d4da8a57a2e34b1ca0c3159b93157e1e.tar.gz rsyslog-6b24fa20d4da8a57a2e34b1ca0c3159b93157e1e.tar.bz2 rsyslog-6b24fa20d4da8a57a2e34b1ca0c3159b93157e1e.zip |
moved file write output module to own set of code files
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7,6 +7,7 @@ #ifndef TEMPLATE_H_INCLUDED #define TEMPLATE_H_INCLUDED 1 + #ifdef FEATURE_REGEXP /* Include regular expressions */ #include <regex.h> @@ -34,6 +35,8 @@ enum tplFormatTypes { tplFmtDefault = 0, tplFmtMySQLDate = 1, tplFmtRFC3164Date = 2, tplFmtRFC3339Date = 3 }; enum tplFormatCaseConvTypes { tplCaseConvNo = 0, tplCaseConvUpper = 1, tplCaseConvLower = 2 }; +#include "msg.h" + /* a specific parse entry */ struct templateEntry { struct templateEntry *pNext; @@ -73,6 +76,8 @@ void tplDeleteAll(void); void tplDeleteNew(void); void tplPrintList(void); void tplLastStaticInit(struct template *tpl); +uchar *tplToString(struct template *pTpl, msg_t *pMsg); +void doSQLEscape(char **pp, size_t *pLen, unsigned short *pbMustBeFreed, int escapeMode); #endif /* #ifndef TEMPLATE_H_INCLUDED */ /* |