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 6626395c 2002-12-26 alex * $Id: ngircd.h,v 1.19 2002/12/26 16:48:14 alex 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 ac9da09e 2001-12-30 alex GLOBAL CHAR NGIRCd_StartStr[64];
27 ac9da09e 2001-12-30 alex
28 52424b49 2002-01-11 alex #ifdef DEBUG
29 52424b49 2002-01-11 alex GLOBAL BOOLEAN NGIRCd_Debug; /* Debug-Modus aktivieren */
30 52424b49 2002-01-11 alex #endif
31 52424b49 2002-01-11 alex
32 d79a7d28 2002-01-18 alex #ifdef SNIFFER
33 d79a7d28 2002-01-18 alex GLOBAL BOOLEAN NGIRCd_Sniffer; /* Sniffer aktivieren */
34 d79a7d28 2002-01-18 alex #endif
35 d79a7d28 2002-01-18 alex
36 52424b49 2002-01-11 alex GLOBAL BOOLEAN NGIRCd_NoDaemon; /* nicht im Hintergrund laufen */
37 52424b49 2002-01-11 alex
38 d1382fab 2002-02-19 alex GLOBAL BOOLEAN NGIRCd_Passive; /* nicht zu anderen Servern connecten */
39 d1382fab 2002-02-19 alex
40 43a4bc5b 2002-12-19 alex GLOBAL BOOLEAN NGIRCd_SignalQuit; /* TRUE: quit server*/
41 43a4bc5b 2002-12-19 alex GLOBAL BOOLEAN NGIRCd_SignalRestart; /* TRUE: restart server */
42 43a4bc5b 2002-12-19 alex GLOBAL BOOLEAN NGIRCd_SignalRehash; /* TRUE: reload configuration */
43 0f6d3bde 2001-12-12 alex
44 d1382fab 2002-02-19 alex GLOBAL CHAR NGIRCd_DebugLevel[2]; /* Debug-Level fuer IRC_VERSION() */
45 d1382fab 2002-02-19 alex
46 e8668cf5 2002-03-27 alex GLOBAL CHAR NGIRCd_ConfFile[FNAME_LEN]; /* Konfigurationsdatei */
47 e8668cf5 2002-03-27 alex
48 6626395c 2002-12-26 alex GLOBAL CHAR NGIRCd_ProtoID[COMMAND_LEN];/* Protokoll- und Server-Identifikation */
49 ff072268 2002-09-02 alex
50 4c6e07c3 2002-11-22 alex
51 c2f60abe 2002-05-27 alex GLOBAL CHAR *NGIRCd_Version PARAMS((VOID ));
52 c2f60abe 2002-05-27 alex GLOBAL CHAR *NGIRCd_VersionAddition PARAMS((VOID ));
53 52424b49 2002-01-11 alex
54 cf2d4794 2002-11-22 alex GLOBAL VOID NGIRCd_Rehash PARAMS(( VOID ));
55 52424b49 2002-01-11 alex
56 4c6e07c3 2002-11-22 alex
57 f4ade537 2001-12-11 alex #endif
58 f4ade537 2001-12-11 alex
59 f4ade537 2001-12-11 alex
60 f4ade537 2001-12-11 alex /* -eof- */