summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-10 18:40:42 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-10 18:40:42 +0200
commit4bb35f1e94665fbc6de7348ccd619e3a34ec5f08 (patch)
treec0b91d37fac06321d521eea60e60dfa1ec2c1f21 /template.h
parent0c786a66ac929d35a8057d232dad5a53d749e789 (diff)
downloadrsyslog-4bb35f1e94665fbc6de7348ccd619e3a34ec5f08.tar.gz
rsyslog-4bb35f1e94665fbc6de7348ccd619e3a34ec5f08.tar.xz
rsyslog-4bb35f1e94665fbc6de7348ccd619e3a34ec5f08.zip
Add missing prototype for tplToJSON()
Diffstat (limited to 'template.h')
-rw-r--r--template.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/template.h b/template.h
index 42e262f8..e30f96b4 100644
--- a/template.h
+++ b/template.h
@@ -30,6 +30,7 @@
#ifndef TEMPLATE_H_INCLUDED
#define TEMPLATE_H_INCLUDED 1
+#include <json/json.h>
#include <libestr.h>
#include "regexp.h"
#include "stringbuf.h"
@@ -147,6 +148,7 @@ rsRetVal ExtendBuf(uchar **pBuf, size_t *pLenBuf, size_t iMinSize);
*/
rsRetVal tplToArray(struct template *pTpl, msg_t *pMsg, uchar*** ppArr);
rsRetVal tplToString(struct template *pTpl, msg_t *pMsg, uchar** ppSz, size_t *);
+rsRetVal tplToJSON(struct template *pTpl, msg_t *pMsg, struct json_object **);
rsRetVal doEscape(uchar **pp, size_t *pLen, unsigned short *pbMustBeFreed, int escapeMode);
rsRetVal templateInit();