unrealircd- supernets unrealircd source & configuration |
git clone git://git.acid.vegas/unrealircd.git |
Log | Files | Refs | Archive | README | LICENSE |
ircd_vars.c (959B)
1 /************************************************************************ 2 * UnrealIRCd - Unreal Internet Relay Chat Daemon - src/ircd_vars.c 3 * (c) 2021- Bram Matthys and The UnrealIRCd team 4 * License: GPLv2 or later 5 */ 6 #include "unrealircd.h" 7 8 /** @file 9 * @brief UnrealIRCd global variables of the IRCd 10 */ 11 12 int SVSNOOP = 0; 13 time_t timeofday = 0; 14 struct timeval timeofday_tv; 15 int tainted = 0; 16 LoopStruct loop; 17 MODVAR IRCCounts irccounts; 18 MODVAR Client me; /* That's me */ 19 MODVAR char *me_hash; 20 char *configfile = NULL; /* Server configuration file */ 21 int debuglevel = 0; /* Server debug level */ 22 int bootopt = 0; /* Server boot option flags */ 23 char *debugmode = ""; /* -"- -"- -"- */ 24 int dorehash = 0; /**< Rehash server on next socket loop */ 25 int dorestart = 0; /**< Restart server on next socket loop */ 26 int doreloadcert = 0; /**< Reload TLS certificate on next socket loop */ 27 #ifndef _WIN32 28 char **myargv; 29 #else 30 LPCSTR cmdLine; 31 #endif