X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fconn.h;h=ffbfe64a909d9813ebb05fc6aded31bf9cbe168f;hb=ff2c1efae8b8b1bf30013123bb17243dc682f7d3;hp=e9ca711dfac0b4d24477798844aaeef3398a6472;hpb=b77dae34999581f42b3a436abdbe35c777b64b98;p=ngircd-alex.git diff --git a/src/ngircd/conn.h b/src/ngircd/conn.h index e9ca711d..ffbfe64a 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.29 2002/12/30 17:14:59 alex Exp $ + * $Id: conn.h,v 1.31 2003/03/27 01:20:22 alex Exp $ * * Connection management (header) */ @@ -18,11 +18,13 @@ #define __conn_h__ -#include /* wg. time_t, s.u. */ +#include /* fro time_t, see below */ +#define CONN_ISCLOSING 1 /* Conn_Close() already called */ + #ifdef USE_ZLIB -#define CONN_ZIP 4 /* Kompression mit zlib */ +#define CONN_ZIP 2 /* zlib compressed link */ #endif @@ -94,6 +96,7 @@ GLOBAL BOOLEAN Conn_WriteStr PARAMS(( CONN_ID Idx, CHAR *Format, ... )); GLOBAL VOID Conn_Close PARAMS(( CONN_ID Idx, CHAR *LogMsg, CHAR *FwdMsg, BOOLEAN InformClient )); +GLOBAL VOID Conn_SyncServerStruct PARAMS(( VOID )); GLOBAL INT Conn_MaxFD;