summaryrefslogtreecommitdiffstats
path: root/runtime/msg.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-12-01 08:46:20 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-01 08:46:20 +0100
commitb9d3cdceabf91bc28f8f6d31cfe9332724e37bbf (patch)
tree96a93ba0f76797fa9a52cccd18a3cfeab47250e6 /runtime/msg.h
parentd1ccc0302653017782a59c3ff9e5f7e69811173e (diff)
downloadrsyslog-b9d3cdceabf91bc28f8f6d31cfe9332724e37bbf.tar.gz
rsyslog-b9d3cdceabf91bc28f8f6d31cfe9332724e37bbf.tar.bz2
rsyslog-b9d3cdceabf91bc28f8f6d31cfe9332724e37bbf.zip
milestone: added mmnormalize (compiles, but untested)
Diffstat (limited to 'runtime/msg.h')
-rw-r--r--runtime/msg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/msg.h b/runtime/msg.h
index 4897959c..b699366e 100644
--- a/runtime/msg.h
+++ b/runtime/msg.h
@@ -33,6 +33,7 @@
#include "syslogd-types.h"
#include "template.h"
#include "atomic.h"
+#include "libee/libee.h"
/* rgerhards 2004-11-08: The following structure represents a
@@ -105,6 +106,7 @@ struct msg {
it obviously is solved in way or another...). */
struct syslogTime tRcvdAt;/* time the message entered this program */
struct syslogTime tTIMESTAMP;/* (parsed) value of the timestamp */
+ struct ee_event *event; /**< libee event */
/* some fixed-size buffers to save malloc()/free() for frequently used fields (from the default templates) */
uchar szRawMsg[CONF_RAWMSG_BUFSIZE]; /* most messages are small, and these are stored here (without malloc/free!) */
uchar szHOSTNAME[CONF_HOSTNAME_BUFSIZE];
@@ -170,6 +172,7 @@ uchar *getRcvFrom(msg_t *pM);
void getTAG(msg_t *pM, uchar **ppBuf, int *piLen);
char *getTimeReported(msg_t *pM, enum tplFormatTypes eFmt);
char *getPRI(msg_t *pMsg);
+void getRawMsg(msg_t *pM, uchar **pBuf, int *piLen);
/* TODO: remove these five (so far used in action.c) */