Blame


1 f4ade537 2001-12-11 alex /*
2 f4ade537 2001-12-11 alex * ngIRCd -- The Next Generation IRC Daemon
3 03d971d9 2002-01-02 alex * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
4 f4ade537 2001-12-11 alex *
5 fa7b3f0e 2002-12-12 alex * This program is free software; you can redistribute it and/or modify
6 fa7b3f0e 2002-12-12 alex * it under the terms of the GNU General Public License as published by
7 fa7b3f0e 2002-12-12 alex * the Free Software Foundation; either version 2 of the License, or
8 fa7b3f0e 2002-12-12 alex * (at your option) any later version.
9 fa7b3f0e 2002-12-12 alex * Please read the file COPYING, README and AUTHORS for more information.
10 f4ade537 2001-12-11 alex *
11 8adff592 2005-03-19 fw * $Id: ngircd.h,v 1.21 2005/03/19 18:43:49 fw Exp $
12 f4ade537 2001-12-11 alex *
13 fa7b3f0e 2002-12-12 alex * Prototypes of the "main module".
14 f4ade537 2001-12-11 alex */
15 f4ade537 2001-12-11 alex
16 f4ade537 2001-12-11 alex
17 f4ade537 2001-12-11 alex #ifndef __ngircd_h__
18 f4ade537 2001-12-11 alex #define __ngircd_h__
19 f4ade537 2001-12-11 alex
20 cc18008b 2001-12-31 alex #include <time.h>
21 0f6d3bde 2001-12-12 alex
22 e8668cf5 2002-03-27 alex #include "defines.h"
23 cc18008b 2001-12-31 alex
24 e8668cf5 2002-03-27 alex
25 ac9da09e 2001-12-30 alex GLOBAL time_t NGIRCd_Start; /* Startzeitpunkt des Daemon */
26 8adff592 2005-03-19 fw GLOBAL char NGIRCd_StartStr[64];
27 8adff592 2005-03-19 fw GLOBAL char NGIRCd_Version[126];
28 8adff592 2005-03-19 fw GLOBAL char NGIRCd_VersionAddition[126];
29 ac9da09e 2001-12-30 alex
30 52424b49 2002-01-11 alex #ifdef DEBUG
31 8adff592 2005-03-19 fw GLOBAL bool NGIRCd_Debug; /* Debug-Modus aktivieren */
32 52424b49 2002-01-11 alex #endif
33 52424b49 2002-01-11 alex
34 d79a7d28 2002-01-18 alex #ifdef SNIFFER
35 8adff592 2005-03-19 fw GLOBAL bool NGIRCd_Sniffer; /* Sniffer aktivieren */
36 d79a7d28 2002-01-18 alex #endif
37 d79a7d28 2002-01-18 alex
38 8adff592 2005-03-19 fw GLOBAL bool NGIRCd_NoDaemon; /* nicht im Hintergrund laufen */
39 52424b49 2002-01-11 alex
40 8adff592 2005-03-19 fw GLOBAL bool NGIRCd_Passive; /* nicht zu anderen Servern connecten */
41 d1382fab 2002-02-19 alex
42 8adff592 2005-03-19 fw GLOBAL bool NGIRCd_SignalQuit; /* true: quit server*/
43 8adff592 2005-03-19 fw GLOBAL bool NGIRCd_SignalRestart; /* true: restart server */
44 8adff592 2005-03-19 fw GLOBAL bool NGIRCd_SignalRehash; /* true: reload configuration */
45 0f6d3bde 2001-12-12 alex
46 8adff592 2005-03-19 fw GLOBAL char NGIRCd_DebugLevel[2]; /* Debug-Level fuer IRC_VERSION() */
47 d1382fab 2002-02-19 alex
48 8adff592 2005-03-19 fw GLOBAL char NGIRCd_ConfFile[FNAME_LEN]; /* Konfigurationsdatei */
49 e8668cf5 2002-03-27 alex
50 8adff592 2005-03-19 fw GLOBAL char NGIRCd_ProtoID[COMMAND_LEN];/* Protokoll- und Server-Identifikation */
51 ff072268 2002-09-02 alex
52 4c6e07c3 2002-11-22 alex
53 8adff592 2005-03-19 fw GLOBAL void NGIRCd_Rehash PARAMS(( void ));
54 52424b49 2002-01-11 alex
55 4c6e07c3 2002-11-22 alex
56 f4ade537 2001-12-11 alex #endif
57 f4ade537 2001-12-11 alex
58 f4ade537 2001-12-11 alex
59 f4ade537 2001-12-11 alex /* -eof- */