00001 00002 00007 #ifndef CLIENTTHREAD_H 00008 #define CLIENTTHREAD_H 00009 00010 #include "../common/buffer.h" 00011 #include "../common/protocol.h" 00012 00014 struct CTArgs { 00015 int nr; 00016 int socket; 00017 }; 00018 00020 00023 void* ClientThread ( void* my_Socket ); 00024 00026 00031 bool Handshake (Buffer* out, packet* pak); 00032 00034 00039 bool Authenticate (Buffer* in, packet* pak); 00040 00041 #endif