X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fconn.h;h=3db6f6cc6179108a7b9347c67d56f6c2675802f3;hb=84f7e578a810d5e01f2f8cb4fc65a37691a8fa00;hp=fdbf570da83bcec6a81207ca04a3b99f97ada96a;hpb=cf2110960058fdd0f58d854a6e878cde6b953dd8;p=ngircd-alex.git diff --git a/src/ngircd/conn.h b/src/ngircd/conn.h index fdbf570d..3db6f6cc 100644 --- a/src/ngircd/conn.h +++ b/src/ngircd/conn.h @@ -9,11 +9,17 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: conn.h,v 1.5 2001/12/23 21:57:48 alex Exp $ + * $Id: conn.h,v 1.7 2001/12/26 14:45:37 alex Exp $ * * conn.h: Verwaltung aller Netz-Verbindungen ("connections") (Header) * * $Log: conn.h,v $ + * Revision 1.7 2001/12/26 14:45:37 alex + * - "Code Cleanups". + * + * Revision 1.6 2001/12/25 22:03:47 alex + * - Conn_Close() eingefuehrt: war die lokale Funktion Close_Connection(). + * * Revision 1.5 2001/12/23 21:57:48 alex * - Conn_WriteStr() unterstuetzt nun variable Parameter. * @@ -41,13 +47,15 @@ typedef INT CONN_ID; GLOBAL VOID Conn_Init( VOID ); GLOBAL VOID Conn_Exit( VOID ); -GLOBAL BOOLEAN Conn_New_Listener( CONST INT Port ); +GLOBAL BOOLEAN Conn_NewListener( CONST INT Port ); GLOBAL VOID Conn_Handler( INT Timeout ); GLOBAL BOOLEAN Conn_Write( CONN_ID Idx, CHAR *Data, INT Len ); GLOBAL BOOLEAN Conn_WriteStr( CONN_ID Idx, CHAR *Format, ... ); +GLOBAL VOID Conn_Close( CONN_ID Idx, CHAR *Msg ); + #endif