X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconn.h;h=d061d8358d8dbfaa66fc786e2af445f50bb568e6;hp=7d1c2e54c2a6a0991009476cf8f45d215ddd43a9;hb=87f4b1c6f64f85556533f01d95da1cf83a91d4c6;hpb=8067bab10613dbc63b8c54e67b355fead674556a;ds=sidebyside diff --git a/src/ngircd/conn.h b/src/ngircd/conn.h index 7d1c2e54..d061d835 100644 --- a/src/ngircd/conn.h +++ b/src/ngircd/conn.h @@ -8,7 +8,7 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: conn.h,v 1.40 2006/02/02 21:00:22 fw Exp $ + * $Id: conn.h,v 1.41 2006/04/23 10:37:27 fw Exp $ * * Connection management (header) */ @@ -31,6 +31,7 @@ typedef int CONN_ID; +#include "client.h" #ifdef CONN_MODULE @@ -66,6 +67,7 @@ typedef struct _Connection long msg_in, msg_out; /* Received and sent IRC messages */ int flag; /* Flag (see "irc-write" module) */ UINT16 options; /* Link options / connection state */ + CLIENT *client; /* pointer to client structure */ #ifdef ZLIB ZIPDATA zip; /* Compression information */ #endif /* ZLIB */ @@ -93,7 +95,7 @@ GLOBAL void Conn_Close PARAMS(( CONN_ID Idx, char *LogMsg, char *FwdMsg, bool In GLOBAL void Conn_SyncServerStruct PARAMS(( void )); +GLOBAL CLIENT* Conn_GetClient PARAMS((CONN_ID i)); #endif - /* -eof- */