]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/ngircd.h
Fixed spelling mistake :-)
[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  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  * Please read the file COPYING, README and AUTHORS for more information.
10  *
11  * $Id: ngircd.h,v 1.19 2002/12/26 16:48:14 alex Exp $
12  *
13  * Prototypes of the "main module".
14  */
15
16
17 #ifndef __ngircd_h__
18 #define __ngircd_h__
19
20 #include <time.h>
21
22 #include "defines.h"
23
24
25 GLOBAL time_t NGIRCd_Start;             /* Startzeitpunkt des Daemon */
26 GLOBAL CHAR NGIRCd_StartStr[64];
27
28 #ifdef DEBUG
29 GLOBAL BOOLEAN NGIRCd_Debug;            /* Debug-Modus aktivieren */
30 #endif
31
32 #ifdef SNIFFER
33 GLOBAL BOOLEAN NGIRCd_Sniffer;          /* Sniffer aktivieren */
34 #endif
35
36 GLOBAL BOOLEAN NGIRCd_NoDaemon;         /* nicht im Hintergrund laufen */
37
38 GLOBAL BOOLEAN NGIRCd_Passive;          /* nicht zu anderen Servern connecten */
39
40 GLOBAL BOOLEAN NGIRCd_SignalQuit;       /* TRUE: quit server*/
41 GLOBAL BOOLEAN NGIRCd_SignalRestart;    /* TRUE: restart server */
42 GLOBAL BOOLEAN NGIRCd_SignalRehash;     /* TRUE: reload configuration */
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[COMMAND_LEN];/* Protokoll- und Server-Identifikation */
49
50
51 GLOBAL CHAR *NGIRCd_Version PARAMS((VOID ));
52 GLOBAL CHAR *NGIRCd_VersionAddition PARAMS((VOID ));
53
54 GLOBAL VOID NGIRCd_Rehash PARAMS(( VOID ));
55
56
57 #endif
58
59
60 /* -eof- */