about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2001-12-26 03:19:57 +0000
committerAlexander Barton <alex@barton.de>2001-12-26 03:19:57 +0000
commit24c766fa55a1c871816097729291d45c1c599415 (patch)
treeced99b7114260f7a073029684d57182d7c29e45c /src
parent9067612941175a8e0d074eace961708c5c7aa655 (diff)
downloadngircd-24c766fa55a1c871816097729291d45c1c599415.tar.gz
ngircd-24c766fa55a1c871816097729291d45c1c599415.zip
- erste Konfigurations-Variablen definiert: PING/PONG-Timeout.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/conf.c8
-rw-r--r--src/ngircd/conf.h9
2 files changed, 14 insertions, 3 deletions
diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c
index 390e8704..fd49efdd 100644
--- a/src/ngircd/conf.c
+++ b/src/ngircd/conf.c
@@ -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 */
 
 
diff --git a/src/ngircd/conf.h b/src/ngircd/conf.h
index 1f79fc2e..053d2a9a 100644
--- a/src/ngircd/conf.h
+++ b/src/ngircd/conf.h
@@ -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.
  *
@@ -24,6 +27,10 @@
 #define __conf_h__
 
 
+GLOBAL INT Conf_PING_Timeout;
+GLOBAL INT Conf_PONG_Timeout;
+
+
 GLOBAL VOID Conf_Init( VOID );
 GLOBAL VOID Conf_Exit( VOID );