about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2002-03-29 22:53:59 +0000
committerAlexander Barton <alex@barton.de>2002-03-29 22:53:59 +0000
commit4cdc98154c45d5dad907e35567a0c687a11c31af (patch)
tree1fdb8cf473210ac61b2692d4b7110296828b1e24
parentd4a9ceae755d77b3e7060cf10c5dda40b8e172d0 (diff)
downloadngircd-4cdc98154c45d5dad907e35567a0c687a11c31af.tar.gz
ngircd-4cdc98154c45d5dad907e35567a0c687a11c31af.zip
- Conf_ListenPorts[] ist nun unsigned.
- Neue Konfigurations-Variablen Conf_UID und Conf_GID.
-rw-r--r--src/ngircd/conf.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ngircd/conf.h b/src/ngircd/conf.h
index a80ed64d..2aefbcd4 100644
--- a/src/ngircd/conf.h
+++ b/src/ngircd/conf.h
@@ -9,7 +9,7 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: conf.h,v 1.14 2002/03/27 16:39:22 alex Exp $
+ * $Id: conf.h,v 1.15 2002/03/29 22:53:59 alex Exp $
  *
  * conf.h: Konfiguration des ngircd (Header)
  */
@@ -56,9 +56,13 @@ GLOBAL CHAR Conf_ServerPwd[CLIENT_PASS_LEN];
 GLOBAL CHAR Conf_MotdFile[FNAME_LEN];
 
 /* Ports, auf denen der Server Verbindungen entgegen nimmt */
-GLOBAL INT Conf_ListenPorts[MAX_LISTEN_PORTS];
+GLOBAL UINT Conf_ListenPorts[MAX_LISTEN_PORTS];
 GLOBAL INT Conf_ListenPorts_Count;
 
+/* User- und Group-ID, zu denen der Daemon wechseln soll */
+GLOBAL UINT Conf_UID;
+GLOBAL UINT Conf_GID;
+
 /* Timeouts fuer PING und PONG */
 GLOBAL INT Conf_PingTimeout;
 GLOBAL INT Conf_PongTimeout;