]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/ngircd.h
- neue Funktion NGIRCd_Reload().
[ngircd-alex.git] / src / ngircd / ngircd.h
index e23279b6daf17c58337bce336cf6b558304f4414..7dff5b0abfb97ca7c8e75834eb28baa94f3283c0 100644 (file)
@@ -1,38 +1,57 @@
 /*
  * 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
  * herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
  * der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
- * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS.
+ * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: ngircd.h,v 1.3 2001/12/30 11:42:00 alex Exp $
+ * $Id: ngircd.h,v 1.15 2002/11/22 17:59:54 alex Exp $
  *
  * ngircd.h: Prototypen aus dem "Haupt-Modul"
- *
- * $Log: ngircd.h,v $
- * 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.
  */
 
 
 #ifndef __ngircd_h__
 #define __ngircd_h__
 
+#include <time.h>
+
+#include "defines.h"
+
 
 GLOBAL time_t NGIRCd_Start;            /* Startzeitpunkt des Daemon */
 GLOBAL CHAR NGIRCd_StartStr[64];
 
-GLOBAL BOOLEAN NGIRCd_Quit;            /* TRUE: Hauptschleife beenden */
+#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_ProtoID[1024];      /* Protokoll- und Server-Identifikation */
+
+
+GLOBAL CHAR *NGIRCd_Version PARAMS((VOID ));
+GLOBAL CHAR *NGIRCd_VersionAddition PARAMS((VOID ));
+
+GLOBAL VOID NGIRCd_Reload PARAMS(( VOID ));
 
 
 #endif