diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-23 14:50:03 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-23 14:50:03 +0200 |
commit | b50d13a6a97c0b6fa14807775ae0edf52ef015fb (patch) | |
tree | 86817355dc2631e21b7b4e2977ecbbf9007537cd /runtime/msg.h | |
parent | 6181156b1c42825bac892d3e1284dcb2d4fcf5d3 (diff) | |
download | rsyslog-b50d13a6a97c0b6fa14807775ae0edf52ef015fb.tar.gz rsyslog-b50d13a6a97c0b6fa14807775ae0edf52ef015fb.tar.xz rsyslog-b50d13a6a97c0b6fa14807775ae0edf52ef015fb.zip |
restored repeated message reduction processing
Diffstat (limited to 'runtime/msg.h')
-rw-r--r-- | runtime/msg.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/runtime/msg.h b/runtime/msg.h index 9113882a..c38cb788 100644 --- a/runtime/msg.h +++ b/runtime/msg.h @@ -28,10 +28,6 @@ #ifndef MSG_H_INCLUDED #define MSG_H_INCLUDED 1 -/* some configuration constants */ -#define CONF_RAWMSG_BUFSIZE 101 -#define CONF_TAG_BUFSIZE 33 /* RFC says 32 chars (+ \0), but in practice we see longer ones... */ - #include <pthread.h> #include "obj.h" #include "syslogd-types.h" @@ -162,6 +158,7 @@ rsRetVal MsgSetAfterPRIOffs(msg_t *pMsg, short offs); void MsgSetMSGoffs(msg_t *pMsg, short offs); void MsgSetRawMsgWOSize(msg_t *pMsg, char* pszRawMsg); void MsgSetRawMsg(msg_t *pMsg, char* pszRawMsg, size_t lenMsg); +rsRetVal MsgReplaceMSG(msg_t *pThis, uchar* pszMSG, int lenMSG); void moveHOSTNAMEtoTAG(msg_t *pM); char *MsgGetProp(msg_t *pMsg, struct templateEntry *pTpe, cstr_t *pCSPropName, size_t *pPropLen, unsigned short *pbMustBeFreed); |