]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/ngircd.h
Add Doxygen @file documentation to each source and header file
[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.22 2005/06/24 19:20:56 fw 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 #define C_ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
25
26
27 GLOBAL time_t NGIRCd_Start;             /* Startzeitpunkt des Daemon */
28 GLOBAL char NGIRCd_StartStr[64];
29 GLOBAL char NGIRCd_Version[126];
30 GLOBAL char NGIRCd_VersionAddition[126];
31
32 #ifdef DEBUG
33 GLOBAL bool NGIRCd_Debug;               /* Debug-Modus aktivieren */
34 #endif
35
36 #ifdef SNIFFER
37 GLOBAL bool NGIRCd_Sniffer;             /* Sniffer aktivieren */
38 #endif
39
40 GLOBAL bool NGIRCd_Passive;             /* nicht zu anderen Servern connecten */
41
42 GLOBAL bool NGIRCd_SignalQuit;  /* true: quit server*/
43 GLOBAL bool NGIRCd_SignalRestart;       /* true: restart server */
44
45 GLOBAL char NGIRCd_DebugLevel[2];       /* Debug-Level fuer IRC_VERSION() */
46
47 GLOBAL char NGIRCd_ConfFile[FNAME_LEN]; /* Konfigurationsdatei */
48
49 GLOBAL char NGIRCd_ProtoID[COMMAND_LEN];/* Protokoll- und Server-Identifikation */
50
51
52 #endif
53
54
55 /* -eof- */