www.pudn.com > QQ_Sniffer.rar > myfollow.h


 
#pragma once 
#pragma pack(1)  
#include "myCrack.h" 
 
#ifndef _HHPARSE_H_ 
#define _HHPARSE_H_ 
 
 
 
 
// following are global variables for parsing. 
class CMyFollow 
{ 
public: 
	//unsigned short parse_hh( const u_char * byteArray, const size_t byteArrayLen, FILE* pipe ); 
	unsigned short	parse_hh1(struct tuple4 addr,  u_int proto, const u_char * byteArray, const size_t byteArrayLen, FILE* pipe ); 
	unsigned short	parse_buffer( const u_char * buffer, const size_t buflen, FILE* pipe); 
	unsigned short	hh_analysis(struct tuple4 addr,  u_int proto, const hh_udp_header * pquh, const size_t datalen, FILE* pipe ); 
	u_int			hh_parse_common( u_char * data, u_int len, void* reserved);

public: 
	CMyFollow(); 
	~CMyFollow(); 
public: 
 
	unsigned int      hhnumber; 
	unsigned char     workkey[LEN_TEA_KEY]; 
 
	unsigned char     hh_plain_text[MAX_P_LEN]; 
	unsigned int      hh_len_plain; 
	hh_state		  *hhstate; 
	int				  online; 
}; 
 
#endif;