]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conn.h
Fixed abort() when inviting users to nonexistent channels.
[ngircd-alex.git] / src / ngircd / conn.h
index e9ca711dfac0b4d24477798844aaeef3398a6472..ffbfe64a909d9813ebb05fc6aded31bf9cbe168f 100644 (file)
@@ -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)
  */
 #define __conn_h__
 
 
-#include <time.h>                      /* wg. time_t, s.u. */
+#include <time.h>                      /* 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;