X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fngircd.h;h=b22e46ceb5bcccb499fb64ad44d15fa1c2573d3c;hp=35849c6af54a0b3fdadaea15f5a8cab6fee2145d;hb=c2f60abe55b5a8d320a27df0ce41790fa1141081;hpb=cc18008b6c78d82991803a451430d22baa26ec51 diff --git a/src/ngircd/ngircd.h b/src/ngircd/ngircd.h index 35849c6a..b22e46ce 100644 --- a/src/ngircd/ngircd.h +++ b/src/ngircd/ngircd.h @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001 by Alexander Barton (alex@barton.de) + * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) * * Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen * der GNU General Public License (GPL), wie von der Free Software Foundation @@ -9,27 +9,9 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: ngircd.h,v 1.5 2001/12/31 03:06:03 alex Exp $ + * $Id: ngircd.h,v 1.13 2002/05/27 13:09:27 alex Exp $ * * ngircd.h: Prototypen aus dem "Haupt-Modul" - * - * $Log: ngircd.h,v $ - * Revision 1.5 2001/12/31 03:06:03 alex - * - das #include fuer time.h hat noch gefehlt. - * - * Revision 1.4 2001/12/31 02:18:51 alex - * - viele neue Befehle (WHOIS, ISON, OPER, DIE, RESTART), - * - neuen Header "defines.h" mit (fast) allen Konstanten. - * - Code Cleanups und viele "kleine" Aenderungen & Bugfixes. - * - * Revision 1.3 2001/12/30 11:42:00 alex - * - der Server meldet nun eine ordentliche "Start-Zeit". - * - * Revision 1.2 2001/12/12 23:30:01 alex - * - NGIRCd_Quit ist nun das globale Flag zum Beenden des ngircd. - * - * Revision 1.1.1.1 2001/12/11 21:53:04 alex - * - Imported sources to CVS. */ @@ -38,13 +20,34 @@ #include +#include "defines.h" + GLOBAL time_t NGIRCd_Start; /* Startzeitpunkt des Daemon */ GLOBAL CHAR NGIRCd_StartStr[64]; +#ifdef DEBUG +GLOBAL BOOLEAN NGIRCd_Debug; /* Debug-Modus aktivieren */ +#endif + +#ifdef SNIFFER +GLOBAL BOOLEAN NGIRCd_Sniffer; /* Sniffer aktivieren */ +#endif + +GLOBAL BOOLEAN NGIRCd_NoDaemon; /* nicht im Hintergrund laufen */ + +GLOBAL BOOLEAN NGIRCd_Passive; /* nicht zu anderen Servern connecten */ + GLOBAL BOOLEAN NGIRCd_Quit; /* TRUE: ngIRCd beenden */ GLOBAL BOOLEAN NGIRCd_Restart; /* TRUE: neu starten */ +GLOBAL CHAR NGIRCd_DebugLevel[2]; /* Debug-Level fuer IRC_VERSION() */ + +GLOBAL CHAR NGIRCd_ConfFile[FNAME_LEN]; /* Konfigurationsdatei */ + +GLOBAL CHAR *NGIRCd_Version PARAMS((VOID )); +GLOBAL CHAR *NGIRCd_VersionAddition PARAMS((VOID )); + #endif