]> arthur.barton.de Git - ngircd-alex.git/commitdiff
- erste Konfigurations-Variablen definiert: PING/PONG-Timeout.
authorAlexander Barton <alex@barton.de>
Wed, 26 Dec 2001 03:19:57 +0000 (03:19 +0000)
committerAlexander Barton <alex@barton.de>
Wed, 26 Dec 2001 03:19:57 +0000 (03:19 +0000)
src/ngircd/conf.c
src/ngircd/conf.h

index 390e87042c258a496ca9a43e9dee21d88da89183..fd49efdd88fd104a25532656fba75ba6b592d3e4 100644 (file)
@@ -9,11 +9,14 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: conf.c,v 1.1 2001/12/12 17:18:20 alex Exp $
+ * $Id: conf.c,v 1.2 2001/12/26 03:19:57 alex Exp $
  *
  * conf.h: Konfiguration des ngircd
  *
  * $Log: conf.c,v $
+ * Revision 1.2  2001/12/26 03:19:57  alex
+ * - erste Konfigurations-Variablen definiert: PING/PONG-Timeout.
+ *
  * Revision 1.1  2001/12/12 17:18:20  alex
  * - Modul fuer Server-Konfiguration begonnen.
  *
@@ -32,7 +35,8 @@
 
 GLOBAL VOID Conf_Init( VOID )
 {
-       /* ... */
+       Conf_PING_Timeout = 120;
+       Conf_PONG_Timeout = 10;
 } /* Config_Init */
 
 
index 1f79fc2effaf6ad33755c65aae16f5a70c39db4d..053d2a9ab9248c26b05e2ba80cb5428100b358a8 100644 (file)
@@ -9,11 +9,14 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: conf.h,v 1.1 2001/12/12 17:18:20 alex Exp $
+ * $Id: conf.h,v 1.2 2001/12/26 03:19:57 alex Exp $
  *
  * conf.h: Konfiguration des ngircd (Header)
  *
  * $Log: conf.h,v $
+ * Revision 1.2  2001/12/26 03:19:57  alex
+ * - erste Konfigurations-Variablen definiert: PING/PONG-Timeout.
+ *
  * Revision 1.1  2001/12/12 17:18:20  alex
  * - Modul fuer Server-Konfiguration begonnen.
  *
 #define __conf_h__
 
 
+GLOBAL INT Conf_PING_Timeout;
+GLOBAL INT Conf_PONG_Timeout;
+
+
 GLOBAL VOID Conf_Init( VOID );
 GLOBAL VOID Conf_Exit( VOID );