* (at your option) any later version.
* Please read the file COPYING, README and AUTHORS for more information.
*
- * $Id: conn.h,v 1.30 2003/02/21 19:18:48 alex Exp $
+ * $Id: conn.h,v 1.32 2003/12/26 15:55:07 alex Exp $
*
* Connection management (header)
*/
#define CONN_ISCLOSING 1 /* Conn_Close() already called */
-#ifdef USE_ZLIB
+#ifdef ZLIB
#define CONN_ZIP 2 /* zlib compressed link */
#endif
#include "defines.h"
#include "resolve.h"
-#ifdef USE_ZLIB
+#ifdef ZLIB
#include <zlib.h>
typedef struct _ZipData
{
INT wdatalen; /* Length of data in write buffer (uncompressed) */
LONG bytes_in, bytes_out; /* Counter for statistics (uncompressed!) */
} ZIPDATA;
-#endif /* USE_ZLIB */
+#endif /* ZLIB */
typedef struct _Connection
{
LONG msg_in, msg_out; /* Received and sent IRC messages */
INT flag; /* Flag (see "irc-write" module) */
INT options; /* Link options */
-#ifdef USE_ZLIB
+#ifdef ZLIB
ZIPDATA zip; /* Compression information */
-#endif /* USE_ZLIB */
+#endif /* ZLIB */
} CONNECTION;
GLOBAL CONNECTION *My_Connections;
GLOBAL VOID Conn_Close PARAMS(( CONN_ID Idx, CHAR *LogMsg, CHAR *FwdMsg, BOOLEAN InformClient ));
+GLOBAL VOID Conn_SyncServerStruct PARAMS(( VOID ));
GLOBAL INT Conn_MaxFD;