summaryrefslogtreecommitdiff
blob: e5a54cae5179c5e668259097ebea4926edd856bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
diff -Naur rsyslog-3.14.1.orig/obj.c rsyslog-3.14.1/obj.c
--- rsyslog-3.14.1.orig/obj.c	2008-04-09 10:13:36.000000000 +0200
+++ rsyslog-3.14.1/obj.c	2008-04-09 10:14:49.000000000 +0200
@@ -85,6 +85,7 @@
 #include "stream.h"
 #include "modules.h"
 #include "errmsg.h"
+#include "cfsysline.h"
 
 /* static data */
 DEFobjCurrIf(obj) /* we define our own interface, as this is expected by some macros! */
@@ -1328,7 +1329,7 @@
 
 	/* init classes we use (limit to as few as possible!) */
 	CHKiRet(errmsgClassInit(pModInfo));
-	CHKiRet(cfsyslineInit(pModInfo));
+	CHKiRet(cfsyslineInit());
 	CHKiRet(varClassInit(pModInfo));
 	CHKiRet(moduleClassInit(pModInfo));
 	CHKiRet(objUse(var, CORE_COMPONENT));
diff -Naur rsyslog-3.14.1.orig/stringbuf.h rsyslog-3.14.1/stringbuf.h
--- rsyslog-3.14.1.orig/stringbuf.h	2008-04-09 10:13:36.000000000 +0200
+++ rsyslog-3.14.1/stringbuf.h	2008-04-09 10:14:02.000000000 +0200
@@ -161,4 +161,7 @@
 
 #define rsCStrGetBufBeg(x) ((x)->pBuf)
 
+rsRetVal strInit();
+rsRetVal strExit();
+
 #endif /* single include */
diff -Naur rsyslog-3.14.1.orig/template.h rsyslog-3.14.1/template.h
--- rsyslog-3.14.1.orig/template.h	2008-04-09 10:13:36.000000000 +0200
+++ rsyslog-3.14.1/template.h	2008-04-09 10:17:03.000000000 +0200
@@ -111,6 +111,8 @@
 rsRetVal tplToString(struct template *pTpl, msg_t *pMsg, uchar** ppSz);
 void doSQLEscape(uchar **pp, size_t *pLen, unsigned short *pbMustBeFreed, int escapeMode);
 
+rsRetVal templateInit();
+
 #endif /* #ifndef TEMPLATE_H_INCLUDED */
 /* vim:set ai:
  */