Main Page | Class Hierarchy | Class List | File List | Class Members

TiepPacket Class Reference

tiep packet handler More...

#include <Tiep.h>

Inheritance diagram for TiepPacket:

TepPacket TipPacket TepSystem TipSystem List of all members.

Public Member Functions

 TiepPacket ()
 ~TiepPacket ()
tiep_pak_hdrcreatehdr (int, int, int)
int packet_type (char *)
int packet_varkey (char *)
int packet_num (char *)
int packet_pri (char *)
void create_md5_hash (unsigned char *, unsigned char *, unsigned char *)
void md5_xor (unsigned char *, unsigned char *, unsigned char *, int)
char * encrypt (char *, int, char *, int)
char * decrypt (char *, int, char *, int)

Detailed Description

tiep packet handler

Author:
rv
Version:
1


Constructor & Destructor Documentation

TiepPacket::TiepPacket  ) 
 

init (constructor)

TiepPacket::~TiepPacket  ) 
 

destroy (destructor)


Member Function Documentation

void TiepPacket::create_md5_hash unsigned char *  ,
unsigned char *  ,
unsigned char * 
 

create md5 hash

struct tiep_pak_hdr * TiepPacket::createhdr int  ,
int  ,
int 
 

create packet header

Returns:
ptr to filled tiep packet header

char * TiepPacket::decrypt char *  ,
int  ,
char *  ,
int 
 

decrypt tiep packet body

Returns:
ptr to decrypted packet body

char * TiepPacket::encrypt char *  ,
int  ,
char *  ,
int 
 

encrypt tiep packet body

Returns:
ptr to encrypted packet body

void TiepPacket::md5_xor unsigned char *  ,
unsigned char *  ,
unsigned char *  ,
int 
 

do xor with md5 hash string

int TiepPacket::packet_num char *   ) 
 

number of entries

Returns:
int number of entries into packet

int TiepPacket::packet_pri char *   ) 
 

packet priority

Returns:
packet priority value

int TiepPacket::packet_type char *   ) 
 

type of packet

Returns:
type of packet id number

int TiepPacket::packet_varkey char *   ) 
 

packet varkey

Returns:
random int as packet key


The documentation for this class was generated from the following files:
Generated on Thu Jul 21 23:09:46 2005 for tacppd.kdevelop by doxygen 1.3.5