]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/ngircd.h
Allow pre-defined server local channels ("&").
[ngircd-alex.git] / src / ngircd / ngircd.h
index 35849c6af54a0b3fdadaea15f5a8cab6fee2145d..b615f2631e649ba85ae796c0fe2f681f291c72fc 100644 (file)
@@ -1,35 +1,16 @@
 /*
  * 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 ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
+ * 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
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: ngircd.h,v 1.5 2001/12/31 03:06:03 alex Exp $
+ * $Id: ngircd.h,v 1.22 2005/06/24 19:20:56 fw 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.
+ * Prototypes of the "main module".
  */
 
 
 
 #include <time.h>
 
+#include "defines.h"
+
 
 GLOBAL time_t NGIRCd_Start;            /* Startzeitpunkt des Daemon */
-GLOBAL CHAR NGIRCd_StartStr[64];
+GLOBAL char NGIRCd_StartStr[64];
+GLOBAL char NGIRCd_Version[126];
+GLOBAL char NGIRCd_VersionAddition[126];
+
+#ifdef DEBUG
+GLOBAL bool NGIRCd_Debug;              /* Debug-Modus aktivieren */
+#endif
+
+#ifdef SNIFFER
+GLOBAL bool NGIRCd_Sniffer;            /* Sniffer aktivieren */
+#endif
+
+GLOBAL bool NGIRCd_Passive;            /* nicht zu anderen Servern connecten */
+
+GLOBAL bool NGIRCd_SignalQuit; /* true: quit server*/
+GLOBAL bool NGIRCd_SignalRestart;      /* true: restart server */
+GLOBAL bool NGIRCd_SignalRehash;       /* true: reload configuration */
+
+GLOBAL char NGIRCd_DebugLevel[2];      /* Debug-Level fuer IRC_VERSION() */
+
+GLOBAL char NGIRCd_ConfFile[FNAME_LEN];        /* Konfigurationsdatei */
+
+GLOBAL char NGIRCd_ProtoID[COMMAND_LEN];/* Protokoll- und Server-Identifikation */
+
 
-GLOBAL BOOLEAN NGIRCd_Quit;            /* TRUE: ngIRCd beenden */
-GLOBAL BOOLEAN NGIRCd_Restart;         /* TRUE: neu starten */
+GLOBAL void NGIRCd_Rehash PARAMS(( void ));
 
 
 #endif