X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fconn.h;h=bce42371ea8117b6c6dedb01385b6977a759cd21;hb=c4bc2114c91a91ba8eac2c70914dff4ec3e2d8cf;hp=5bcfb4d553a693e64edd0fe78e718f2d14171fc2;hpb=129a22a29bb59da08a758b6a29202cc9ef389aef;p=ngircd.git diff --git a/src/ngircd/conn.h b/src/ngircd/conn.h index 5bcfb4d5..bce42371 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.33 2005/03/19 18:43:48 fw Exp $ + * $Id: conn.h,v 1.34 2005/04/18 21:08:31 fw Exp $ * * Connection management (header) */ @@ -21,10 +21,11 @@ #include /* for time_t, see below */ -#define CONN_ISCLOSING 1 /* Conn_Close() already called */ +#define CONN_ISCLOSING 1U /* Conn_Close() already called */ +#define CONN_ISCONNECTING 2U /* connect() in progress */ #ifdef ZLIB -#define CONN_ZIP 2 /* zlib compressed link */ +#define CONN_ZIP 4U /* zlib compressed link */ #endif @@ -65,10 +66,10 @@ typedef struct _Connection time_t lastping; /* Last PING */ time_t lastprivmsg; /* Last PRIVMSG */ time_t delaytime; /* Ignore link ("penalty") */ - long bytes_in, bytes_out; /* Received and sent bytes */ - long msg_in, msg_out; /* Received and sent IRC messages */ + long bytes_in, bytes_out; /* Received and sent bytes */ + long msg_in, msg_out; /* Received and sent IRC messages */ int flag; /* Flag (see "irc-write" module) */ - int options; /* Link options */ + UINT16 options; /* Link options / connection state */ #ifdef ZLIB ZIPDATA zip; /* Compression information */ #endif /* ZLIB */