X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fircd.c;h=97ff9f1f8f11c41b93e320e4cab8229b40bde258;hb=1b4e637606464f9af948a6e87879565f9fc1b726;hp=a8f088c9f57223963a5b6ed8b927ee80bbe22f36;hpb=d4438b8ec9eaba90c155b35ec0c960641987a9c3;p=ircu2.10.12-pk.git diff --git a/ircd/ircd.c b/ircd/ircd.c index a8f088c..97ff9f1 100644 --- a/ircd/ircd.c +++ b/ircd/ircd.c @@ -19,6 +19,8 @@ * * $Id$ */ +#include "config.h" + #include "ircd.h" #include "IPcheck.h" #include "class.h" @@ -84,21 +86,22 @@ enum { /*---------------------------------------------------------------------------- * Global data (YUCK!) *--------------------------------------------------------------------------*/ -struct Client me; // That's me -struct Connection me_con; // That's me too -struct Client *GlobalClientList = &me; // Pointer to beginning of Client list -time_t TSoffset = 0; // Offset of timestamps to system clock -int GlobalRehashFlag = 0; // do a rehash if set -int GlobalRestartFlag = 0; // do a restart if set -time_t CurrentTime; // Updated every time we leave select() - -char *configfile = CPATH; // Server configuration file -int debuglevel = -1; // Server debug level -char *debugmode = ""; // Server debug level +struct Client me; /* That's me */ +struct Connection me_con; /* That's me too */ +struct Client *GlobalClientList = &me; /* Pointer to beginning of + Client list */ +time_t TSoffset = 0;/* Offset of timestamps to system clock */ +int GlobalRehashFlag = 0; /* do a rehash if set */ +int GlobalRestartFlag = 0; /* do a restart if set */ +time_t CurrentTime; /* Updated every time we leave select() */ + +char *configfile = CPATH; /* Server configuration file */ +int debuglevel = -1; /* Server debug level */ +char *debugmode = ""; /* Server debug level */ static char *dpath = DPATH; -time_t nextconnect = 1; // time for next try_connections call -time_t nextping = 1; // same as above for check_pings() +time_t nextconnect = 1; /* time for next try_connections call */ +time_t nextping = 1; /* same as above for check_pings() */ static struct Daemon thisServer = { 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0 };