* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
- *
- * $Id: ircd.h 1851 2006-08-24 17:16:53Z jilles $
*/
#ifndef INCLUDED_ircd_h
#define INCLUDED_ircd_h
-#include "config.h"
+#include "defaults.h"
struct Client;
struct rb_dlink_list;
extern const char *creation;
extern const char *generation;
-extern const char *platform;
extern const char *infotext[];
extern const char *serno;
+extern const unsigned long int datecode;
extern const char *ircd_version;
extern const char *logFileName;
extern const char *pidFileName;
-extern int cold_start;
-extern int dorehash;
-extern int dorehashbans;
-extern int doremotd;
-extern int kline_queued;
-extern int server_state_foreground;
-extern int opers_see_all_users; /* sno_farconnect.so loaded, operspy without
- accountability, etc */
+extern volatile sig_atomic_t dorehash;
+extern volatile sig_atomic_t dorehashbans;
+extern volatile sig_atomic_t doremotd;
+extern bool kline_queued;
+extern bool server_state_foreground;
+extern bool opers_see_all_users; /* sno_farconnect.so loaded, operspy without
+ accountability, etc */
extern struct Client me;
extern rb_dlink_list global_client_list;
extern struct ev_entry *check_splitmode_ev;
-extern int ssl_ok;
-extern int zlib_ok;
+extern bool ircd_ssl_ok;
+extern bool ircd_zlib_ok;
extern int maxconnections;
-void ircd_shutdown(const char *reason);
+void ircd_shutdown(const char *reason) __attribute__((noreturn));
#endif