diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-06-01 18:51:55 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-06-01 18:51:55 +0200 |
commit | 527bfcea5c9ca5c8414620a022f097d4e53af784 (patch) | |
tree | f4bcee98f1f1f1d372a914a247dad86b5b36ad6e /template.h | |
parent | 59227a861821b2e0e37357c0695f6b3d9f11dd9d (diff) | |
download | rsyslog-527bfcea5c9ca5c8414620a022f097d4e53af784.tar.gz rsyslog-527bfcea5c9ca5c8414620a022f097d4e53af784.tar.xz rsyslog-527bfcea5c9ca5c8414620a022f097d4e53af784.zip |
first implementation of strgen interface
and a first built-in strgen module. Some tweaks and more default strgens
are needed, but the code doesn't look too bad ;)
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ struct template { struct template *pNext; char *pszName; int iLenName; - uchar *tplMod; /* name of template module to use * TODO: replace by ptr to entry point! */ + rsRetVal (*pStrgen)(msg_t*, uchar**, size_t *); /* name of strgen to use (bound if non-NULL!) */ int tpenElements; /* number of elements in templateEntry list */ struct templateEntry *pEntryRoot; struct templateEntry *pEntryLast; |