www.pudn.com > SyslogTool_Analyse_Final8.6.rar > SyslogConfig.h


typedef char int8_t;		 
typedef unsigned char u_int8_t;  
typedef short int16_t;		 
typedef unsigned short u_int16_t;  
typedef int int32_t;		 
typedef unsigned int u_int32_t;  
 
typedef __int64 int64_t;	 
typedef unsigned __int64 u_int64_t;  
//struct for save the message 
struct syslog_packet_message{ 
	int16_t m_priority; 
	int8_t m_timestamp[32]; 
	int8_t m_message[128]; 
}; 
#ifndef _SOMEHEADER_H 
#define _SOMEHEADER_H 
 
struct SYSLOG { 
	char syslog_buff[4096]; 
 
}; 
#endif //_SOMEHEADER_H