X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fdefines.h;h=34951aeef8757d41a6837b996cd4ec45ef314714;hp=7db4788a13270587c588cf4fb9322446e15aaf9c;hb=7281b8dd4d917f8b7f7c36460b78b686427ce973;hpb=8d024d05d218680e853eacbea2e5b97ac7c1f730 diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h index 7db4788a..34951aee 100644 --- a/src/ngircd/defines.h +++ b/src/ngircd/defines.h @@ -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.40 2002/12/16 23:10: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Ÿr 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 */ @@ -83,13 +81,11 @@ #define DEFAULT_AWAY_MSG "Away" /* Away-Meldung fuer User von anderen Servern */ -#ifdef PROTOTYPES -# define CONFIG_FILE SYSCONFDIR"/ngircd.conf" -# define MOTD_FILE SYSCONFDIR"/ngircd.motd" -#else -# define CONFIG_FILE "ngircd.conf" -# define MOTD_FILE "ngircd.motd" -#endif +#define CONFIG_FILE "/ngircd.conf" +#define MOTD_FILE "/ngircd.motd" +#define MOTD_PHRASE "" +#define CHROOT_DIR "" + #define ERROR_DIR "/tmp" #define MAX_LOG_MSG_LEN 256 /* max. Laenge einer Log-Meldung */ @@ -98,6 +94,10 @@ #define NOTICE_TXTPREFIX "" /* Kennzeichnung fuer Server-NOTICEs an User */ +#ifdef RENDEZVOUS +#define RENDEZVOUS_TYPE "_ircu._tcp." /* Service type to register with Rendezvous */ +#endif + #endif