]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/ngircd.h
New configuration option "NoZeroConf" to disable ZeroConf registration
[ngircd-alex.git] / src / ngircd / ngircd.h
index d7ae879cb888ee2c0f3a48b64af40a05d8241c8c..bd699e505094ddddbbfab2bdc46b23294ae664bf 100644 (file)
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: ngircd.h,v 1.21 2005/03/19 18:43:49 fw Exp $
+ * $Id: ngircd.h,v 1.22 2005/06/24 19:20:56 fw Exp $
  *
  * Prototypes of the "main module".
  */
@@ -21,6 +21,8 @@
 
 #include "defines.h"
 
+#define C_ARRAY_SIZE(x)        (sizeof(x)/sizeof((x)[0]))
+
 
 GLOBAL time_t NGIRCd_Start;            /* Startzeitpunkt des Daemon */
 GLOBAL char NGIRCd_StartStr[64];
@@ -35,13 +37,10 @@ GLOBAL bool NGIRCd_Debug;           /* Debug-Modus aktivieren */
 GLOBAL bool NGIRCd_Sniffer;            /* Sniffer aktivieren */
 #endif
 
-GLOBAL bool NGIRCd_NoDaemon;           /* nicht im Hintergrund laufen */
-
 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() */
 
@@ -50,9 +49,6 @@ GLOBAL char NGIRCd_ConfFile[FNAME_LEN];       /* Konfigurationsdatei */
 GLOBAL char NGIRCd_ProtoID[COMMAND_LEN];/* Protokoll- und Server-Identifikation */
 
 
-GLOBAL void NGIRCd_Rehash PARAMS(( void ));
-
-
 #endif