2001-12-11 22:53:04 +01:00
|
|
|
/*
|
|
|
|
* ngIRCd -- The Next Generation IRC Daemon
|
2002-01-02 03:44:36 +01:00
|
|
|
* Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
|
2001-12-11 22:53:04 +01:00
|
|
|
*
|
2002-12-12 12:30:23 +01:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
* Please read the file COPYING, README and AUTHORS for more information.
|
2001-12-11 22:53:04 +01:00
|
|
|
*
|
2005-06-24 21:20:56 +02:00
|
|
|
* $Id: ngircd.h,v 1.22 2005/06/24 19:20:56 fw Exp $
|
2001-12-11 22:53:04 +01:00
|
|
|
*
|
2002-12-12 12:30:23 +01:00
|
|
|
* Prototypes of the "main module".
|
2001-12-11 22:53:04 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __ngircd_h__
|
|
|
|
#define __ngircd_h__
|
|
|
|
|
2001-12-31 04:06:03 +01:00
|
|
|
#include <time.h>
|
|
|
|
|
2002-03-27 17:40:31 +01:00
|
|
|
#include "defines.h"
|
|
|
|
|
2001-12-13 00:30:01 +01:00
|
|
|
|
2001-12-30 12:42:00 +01:00
|
|
|
GLOBAL time_t NGIRCd_Start; /* Startzeitpunkt des Daemon */
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL char NGIRCd_StartStr[64];
|
|
|
|
GLOBAL char NGIRCd_Version[126];
|
|
|
|
GLOBAL char NGIRCd_VersionAddition[126];
|
2001-12-30 12:42:00 +01:00
|
|
|
|
2002-01-11 15:45:18 +01:00
|
|
|
#ifdef DEBUG
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL bool NGIRCd_Debug; /* Debug-Modus aktivieren */
|
2002-01-11 15:45:18 +01:00
|
|
|
#endif
|
|
|
|
|
2002-01-18 12:12:11 +01:00
|
|
|
#ifdef SNIFFER
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL bool NGIRCd_Sniffer; /* Sniffer aktivieren */
|
2002-01-18 12:12:11 +01:00
|
|
|
#endif
|
|
|
|
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL bool NGIRCd_Passive; /* nicht zu anderen Servern connecten */
|
2002-02-19 21:07:48 +01:00
|
|
|
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL bool NGIRCd_SignalQuit; /* true: quit server*/
|
|
|
|
GLOBAL bool NGIRCd_SignalRestart; /* true: restart server */
|
|
|
|
GLOBAL bool NGIRCd_SignalRehash; /* true: reload configuration */
|
2001-12-13 00:30:01 +01:00
|
|
|
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL char NGIRCd_DebugLevel[2]; /* Debug-Level fuer IRC_VERSION() */
|
2002-02-19 21:07:48 +01:00
|
|
|
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL char NGIRCd_ConfFile[FNAME_LEN]; /* Konfigurationsdatei */
|
2002-03-27 17:40:31 +01:00
|
|
|
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL char NGIRCd_ProtoID[COMMAND_LEN];/* Protokoll- und Server-Identifikation */
|
2002-09-02 21:01:11 +02:00
|
|
|
|
2002-11-22 18:59:54 +01:00
|
|
|
|
2005-03-19 19:43:48 +01:00
|
|
|
GLOBAL void NGIRCd_Rehash PARAMS(( void ));
|
2002-11-22 18:59:54 +01:00
|
|
|
|
2002-01-11 15:45:18 +01:00
|
|
|
|
2001-12-11 22:53:04 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* -eof- */
|