]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/defines.h
New "chroot" feature (from Benjamin Pineau), introducing new configuration
[ngircd-alex.git] / src / ngircd / defines.h
index dcc84c19be4af3e694078e7d096b4274b7c715e2..34951aeef8757d41a6837b996cd4ec45ef314714 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
+ * Copyright (c)2001-2003 by Alexander Barton (alex@barton.de)
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: defines.h,v 1.41 2002/12/26 13:17:56 alex Exp $
+ * $Id: defines.h,v 1.46 2004/05/07 11:19:21 alex Exp $
  *
  * Global defines of ngIRCd.
  */
@@ -19,8 +19,6 @@
 
 #define NONE -1
 
-#define TIME_RES 2                     /* Zeit-Aufloesung des Servers in Sekunden */
-
 #define FNAME_LEN 256                  /* max. Laenge eines Dateinamen */
 
 #define LINE_LEN 256                   /* max. Laenge einer Konfigurationszeile */
@@ -59,7 +57,7 @@
 #define READBUFFER_LEN 2048            /* Laenge des Lesepuffers je Verbindung (Bytes) */
 #define WRITEBUFFER_LEN 4096           /* Laenge des Schreibpuffers je Verbindung (Bytes) */
 
-#ifdef USE_ZLIB
+#ifdef ZLIB
 #define ZREADBUFFER_LEN 1024           /* Laenge des Lesepuffers je Verbindung (Bytes) */
 #define ZWRITEBUFFER_LEN 4096          /* Laenge des Schreibpuffers fuer Kompression (Bytes) */
 #endif
@@ -69,7 +67,7 @@
 #define PROTOIRCPLUS "-IRC+"           /* Protokoll-Suffix f\9fr IRC+-Protokoll */
 
 #ifdef IRCPLUS
-# define IRCPLUSFLAGS "C             /* IRC+-Flags, die immer zutreffen */
+# define IRCPLUSFLAGS "CL"             /* IRC+-Flags, die immer zutreffen */
 #endif
 
 #define STARTUP_DELAY 1                        /* Erst n Sek. nach Start zu anderen Servern verbinden */
@@ -85,6 +83,8 @@
 
 #define CONFIG_FILE "/ngircd.conf"
 #define MOTD_FILE "/ngircd.motd"
+#define MOTD_PHRASE ""
+#define CHROOT_DIR ""
 
 #define ERROR_DIR "/tmp"
 
 
 #define NOTICE_TXTPREFIX ""            /* Kennzeichnung fuer Server-NOTICEs an User */
 
+#ifdef RENDEZVOUS
+#define RENDEZVOUS_TYPE "_ircu._tcp."  /* Service type to register with Rendezvous */
+#endif
+
 
 #endif