summaryrefslogtreecommitdiffstats
path: root/msg.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-06 17:12:41 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-06 17:12:41 +0000
commit22ea87ec597245df9216aa6a6b9da2a379ca1a40 (patch)
tree01f82f358e10223a723542e1b0e370935f4577c8 /msg.h
parent8a04b69478118219b0456b1b212e895dceedc36f (diff)
downloadrsyslog-22ea87ec597245df9216aa6a6b9da2a379ca1a40.tar.gz
rsyslog-22ea87ec597245df9216aa6a6b9da2a379ca1a40.tar.xz
rsyslog-22ea87ec597245df9216aa6a6b9da2a379ca1a40.zip
completed serializer for msg (but needs review)
Diffstat (limited to 'msg.h')
-rw-r--r--msg.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/msg.h b/msg.h
index aa7b16be..b904785b 100644
--- a/msg.h
+++ b/msg.h
@@ -50,9 +50,6 @@ struct msg {
pthread_mutexattr_t mutAttr;
pthread_mutex_t mut;
int iRefCount; /* reference counter (0 = unused) */
- short iSyslogVers; /* version of syslog protocol
- * 0 - RFC 3164
- * 1 - RFC draft-protocol-08 */
short bParseHOSTNAME; /* should the hostname be parsed from the message? */
/* background: the hostname is not present on "regular" messages
* received via UNIX domain sockets from the same machine. However,
@@ -87,7 +84,7 @@ struct msg {
int iLenHOSTNAME; /* Length of HOSTNAME */
uchar *pszRcvFrom; /* System message was received from */
int iLenRcvFrom; /* Length of pszRcvFrom */
- int iProtocolVersion;/* protocol version of message received 0 - legacy, 1 syslog-protocol) */
+ short iProtocolVersion;/* protocol version of message received 0 - legacy, 1 syslog-protocol) */
rsCStrObj *pCSProgName; /* the (BSD) program name */
rsCStrObj *pCSStrucData;/* STRUCTURED-DATA */
rsCStrObj *pCSAPPNAME; /* APP-NAME */