diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2004-11-23 08:51:24 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2004-11-23 08:51:24 +0000 |
commit | fc45231d62fdb3b75d2466d8b3b8135e17252abe (patch) | |
tree | d7fb00b39fd676f8bd3c20d86b18bb09453d6d0e /template.h | |
parent | b6a8efa6014a062dedd205848bc891693562c282 (diff) | |
download | rsyslog-fc45231d62fdb3b75d2466d8b3b8135e17252abe.tar.gz rsyslog-fc45231d62fdb3b75d2466d8b3b8135e17252abe.tar.xz rsyslog-fc45231d62fdb3b75d2466d8b3b8135e17252abe.zip |
now includes sql option in template to escape quote chracters
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,6 +10,11 @@ struct template { int tpenElements; /* number of elements in templateEntry list */ struct templateEntry *pEntryRoot; struct templateEntry *pEntryLast; + /* following are options. All are 0/1 defined (either on or off). + * we use chars because they are faster than bit fields and smaller + * than short... + */ + char optFormatForSQL; /* in text fields, escape quotes by double quotes */ }; enum EntryTypes { UNDEFINED = 0, CONSTANT = 1, FIELD = 2 }; |