]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/ngircd.h
Don't play games with FILE* stdin/out/err, only touch "real" descriptors.
[ngircd-alex.git] / src / ngircd / ngircd.h
index 736489484ff3aae6cf49374d4fd6cbf5a4318af9..b82f312b284c141753619816b33da85a7d3c2767 100644 (file)
@@ -2,16 +2,15 @@
  * ngIRCd -- The Next Generation IRC Daemon
  * 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.14 2002/09/02 19:01:11 alex Exp $
+ * $Id: ngircd.h,v 1.20 2005/02/09 09:52:58 alex Exp $
  *
- * ngircd.h: Prototypen aus dem "Haupt-Modul"
+ * Prototypes of the "main module".
  */
 
 
@@ -25,6 +24,8 @@
 
 GLOBAL time_t NGIRCd_Start;            /* Startzeitpunkt des Daemon */
 GLOBAL CHAR NGIRCd_StartStr[64];
+GLOBAL CHAR NGIRCd_Version[126];
+GLOBAL CHAR NGIRCd_VersionAddition[126];
 
 #ifdef DEBUG
 GLOBAL BOOLEAN NGIRCd_Debug;           /* Debug-Modus aktivieren */
@@ -38,17 +39,18 @@ 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 BOOLEAN NGIRCd_SignalQuit;      /* TRUE: quit server*/
+GLOBAL BOOLEAN NGIRCd_SignalRestart;   /* TRUE: restart server */
+GLOBAL BOOLEAN 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[1024];      /* Protokoll- und Server-Identifikation */
+GLOBAL CHAR NGIRCd_ProtoID[COMMAND_LEN];/* Protokoll- und Server-Identifikation */
 
-GLOBAL CHAR *NGIRCd_Version PARAMS((VOID ));
-GLOBAL CHAR *NGIRCd_VersionAddition PARAMS((VOID ));
+
+GLOBAL VOID NGIRCd_Rehash PARAMS(( VOID ));
 
 
 #endif