X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fngircd.h;h=b615f2631e649ba85ae796c0fe2f681f291c72fc;hb=dbea1873731f7a0bd718b6f84b75faa10b83fe66;hp=a9fd1514fecd511813fd0b7aa54b478c76c44d79;hpb=43a4bc5b8bb064e2dfca456ab6fcc656b4dfa813;p=ngircd-alex.git diff --git a/src/ngircd/ngircd.h b/src/ngircd/ngircd.h index a9fd1514..b615f263 100644 --- a/src/ngircd/ngircd.h +++ b/src/ngircd/ngircd.h @@ -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.18 2002/12/19 04:30:00 alex Exp $ + * $Id: ngircd.h,v 1.22 2005/06/24 19:20:56 fw Exp $ * * Prototypes of the "main module". */ @@ -23,35 +23,32 @@ 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 BOOLEAN NGIRCd_Debug; /* Debug-Modus aktivieren */ +GLOBAL bool NGIRCd_Debug; /* Debug-Modus aktivieren */ #endif #ifdef SNIFFER -GLOBAL BOOLEAN NGIRCd_Sniffer; /* Sniffer aktivieren */ +GLOBAL bool NGIRCd_Sniffer; /* Sniffer aktivieren */ #endif -GLOBAL BOOLEAN NGIRCd_NoDaemon; /* nicht im Hintergrund laufen */ +GLOBAL bool NGIRCd_Passive; /* nicht zu anderen Servern connecten */ -GLOBAL BOOLEAN 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 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_DebugLevel[2]; /* Debug-Level fuer IRC_VERSION() */ +GLOBAL char NGIRCd_ConfFile[FNAME_LEN]; /* Konfigurationsdatei */ -GLOBAL CHAR NGIRCd_ConfFile[FNAME_LEN]; /* Konfigurationsdatei */ +GLOBAL char NGIRCd_ProtoID[COMMAND_LEN];/* Protokoll- und Server-Identifikation */ -GLOBAL CHAR NGIRCd_ProtoID[1024]; /* Protokoll- und Server-Identifikation */ - -GLOBAL CHAR *NGIRCd_Version PARAMS((VOID )); -GLOBAL CHAR *NGIRCd_VersionAddition PARAMS((VOID )); - -GLOBAL VOID NGIRCd_Rehash PARAMS(( VOID )); +GLOBAL void NGIRCd_Rehash PARAMS(( void )); #endif