summaryrefslogtreecommitdiffstats
path: root/msg.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-25 13:27:10 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-25 13:27:10 +0000
commit5ebc0db1a6d4c75ce9c26449ef2a2e3d7b340e10 (patch)
treed9f34f80e487d70da9c764f7c050086eceaff5bf /msg.h
parenta24cee11b718603fbc681e4a7a23f50c8d785ad7 (diff)
downloadrsyslog-5ebc0db1a6d4c75ce9c26449ef2a2e3d7b340e10.tar.gz
rsyslog-5ebc0db1a6d4c75ce9c26449ef2a2e3d7b340e10.tar.xz
rsyslog-5ebc0db1a6d4c75ce9c26449ef2a2e3d7b340e10.zip
- added PUSHMSGVAR operation
- included expression support in filter module (and it works ;))
Diffstat (limited to 'msg.h')
-rw-r--r--msg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/msg.h b/msg.h
index b4135533..dd12b77c 100644
--- a/msg.h
+++ b/msg.h
@@ -22,6 +22,8 @@
*
* A copy of the GPL can be found in the file "COPYING" in this distribution.
*/
+#include "template.h" /* this is a quirk, but these two are too interdependant... */
+
#ifndef MSG_H_INCLUDED
#define MSG_H_INCLUDED 1
@@ -154,6 +156,7 @@ char *getMSGID(msg_t *pM);
char *MsgGetProp(msg_t *pMsg, struct templateEntry *pTpe,
cstr_t *pCSPropName, unsigned short *pbMustBeFreed);
char *textpri(char *pRes, size_t pResLen, int pri);
+rsRetVal msgGetMsgVar(msg_t *pThis, cstr_t *pstrPropName, var_t **ppVar);
rsRetVal MsgEnableThreadSafety(void);
/* The MsgPrepareEnqueue() function is a macro for performance reasons.