summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-08-06 20:51:52 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-08-06 20:51:52 +0000
commitacb7dae3ae782dae451f2f7a2322138ee495244a (patch)
tree0268f8febf92e3b03186c12fbc85ca5cb6b4f07c /template.h
parenta7a9e013291754e27e5d074fae5b65cc045ce51b (diff)
downloadrsyslog-acb7dae3ae782dae451f2f7a2322138ee495244a.tar.gz
rsyslog-acb7dae3ae782dae451f2f7a2322138ee495244a.tar.xz
rsyslog-acb7dae3ae782dae451f2f7a2322138ee495244a.zip
moved action object out of syslogd.c to its own fileset (action.c/h)
Diffstat (limited to 'template.h')
-rw-r--r--template.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/template.h b/template.h
index 95ffb221..bbd77090 100644
--- a/template.h
+++ b/template.h
@@ -78,6 +78,11 @@ void tplDeleteAll(void);
void tplDeleteNew(void);
void tplPrintList(void);
void tplLastStaticInit(struct template *tpl);
+/* note: if a compiler warning for undefined type tells you to look at this
+ * code line below, the actual cause is that you currently MUST include template.h
+ * BEFORE msg.h, even if your code file does not actually need it.
+ * rgerhards, 2007-08-06
+ */
uchar *tplToString(struct template *pTpl, msg_t *pMsg);
void doSQLEscape(char **pp, size_t *pLen, unsigned short *pbMustBeFreed, int escapeMode);