X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/cbeab4bc340b7b3f4fbf424ff327758defb9598a..12cee8ab784abba32ec21d3eb2c7890f86003837:/include/ircd.h diff --git a/include/ircd.h b/include/ircd.h index 57f7c4bc..28df4d5b 100644 --- a/include/ircd.h +++ b/include/ircd.h @@ -25,7 +25,7 @@ #ifndef INCLUDED_ircd_h #define INCLUDED_ircd_h -#include "config.h" +#include "defaults.h" struct Client; struct rb_dlink_list; @@ -61,17 +61,17 @@ extern const char *creation; extern const char *generation; 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; @@ -99,10 +99,10 @@ extern int testing_conf; 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