]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/ngircd.h
- neue Variable: NGIRCd_ProtoID (Protokoll- und Server-ID fuer "PASS"-Befehl)
[ngircd-alex.git] / src / ngircd / ngircd.h
1 /*
2  * ngIRCd -- The Next Generation IRC Daemon
3  * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
4  *
5  * Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
6  * der GNU General Public License (GPL), wie von der Free Software Foundation
7  * herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
8  * der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
9  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
10  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
11  *
12  * $Id: ngircd.h,v 1.14 2002/09/02 19:01:11 alex Exp $
13  *
14  * ngircd.h: Prototypen aus dem "Haupt-Modul"
15  */
16
17
18 #ifndef __ngircd_h__
19 #define __ngircd_h__
20
21 #include <time.h>
22
23 #include "defines.h"
24
25
26 GLOBAL time_t NGIRCd_Start;             /* Startzeitpunkt des Daemon */
27 GLOBAL CHAR NGIRCd_StartStr[64];
28
29 #ifdef DEBUG
30 GLOBAL BOOLEAN NGIRCd_Debug;            /* Debug-Modus aktivieren */
31 #endif
32
33 #ifdef SNIFFER
34 GLOBAL BOOLEAN NGIRCd_Sniffer;          /* Sniffer aktivieren */
35 #endif
36
37 GLOBAL BOOLEAN NGIRCd_NoDaemon;         /* nicht im Hintergrund laufen */
38
39 GLOBAL BOOLEAN NGIRCd_Passive;          /* nicht zu anderen Servern connecten */
40
41 GLOBAL BOOLEAN NGIRCd_Quit;             /* TRUE: ngIRCd beenden */
42 GLOBAL BOOLEAN NGIRCd_Restart;          /* TRUE: neu starten */
43
44 GLOBAL CHAR NGIRCd_DebugLevel[2];       /* Debug-Level fuer IRC_VERSION() */
45
46 GLOBAL CHAR NGIRCd_ConfFile[FNAME_LEN]; /* Konfigurationsdatei */
47
48 GLOBAL CHAR NGIRCd_ProtoID[1024];       /* Protokoll- und Server-Identifikation */
49
50 GLOBAL CHAR *NGIRCd_Version PARAMS((VOID ));
51 GLOBAL CHAR *NGIRCd_VersionAddition PARAMS((VOID ));
52
53
54 #endif
55
56
57 /* -eof- */