X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fconf.h;h=07ed1eda5f229889493610ed13dea9bf7e1f0f96;hb=6fd126d6f42198a47df23459c9346a3346f9def0;hp=1f79fc2effaf6ad33755c65aae16f5a70c39db4d;hpb=cbc1e59fb23dd1f2a92bba4188a7ffe87360f046;p=ngircd-alex.git diff --git a/src/ngircd/conf.h b/src/ngircd/conf.h index 1f79fc2e..07ed1eda 100644 --- a/src/ngircd/conf.h +++ b/src/ngircd/conf.h @@ -9,14 +9,22 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: conf.h,v 1.1 2001/12/12 17:18:20 alex Exp $ + * $Id: conf.h,v 1.4 2001/12/26 22:48:53 alex Exp $ * * conf.h: Konfiguration des ngircd (Header) * * $Log: conf.h,v $ + * Revision 1.4 2001/12/26 22:48:53 alex + * - MOTD-Datei ist nun konfigurierbar und wird gelesen. + * + * Revision 1.3 2001/12/26 14:45:37 alex + * - "Code Cleanups". + * + * Revision 1.2 2001/12/26 03:19:57 alex + * - erste Konfigurations-Variablen definiert: PING/PONG-Timeout. + * * Revision 1.1 2001/12/12 17:18:20 alex * - Modul fuer Server-Konfiguration begonnen. - * */ @@ -24,6 +32,17 @@ #define __conf_h__ +#define FNAME_LEN 256 + + +GLOBAL CHAR Conf_File[FNAME_LEN]; /* Konfigurationsdatei */ + +GLOBAL INT Conf_PingTimeout; /* Ping Timeout */ +GLOBAL INT Conf_PongTimeout; /* Pong Timeout */ + +GLOBAL CHAR Conf_MotdFile[FNAME_LEN]; /* Datei mit MOTD-Text */ + + GLOBAL VOID Conf_Init( VOID ); GLOBAL VOID Conf_Exit( VOID );