]> jfr.im git - solanum.git/blobdiff - include/ircd.h
Revert "authd: change to lists instead of dictionaries for various things"
[solanum.git] / include / ircd.h
index 3e941452ee1cced1c325aca6cb861841c2df07ff..f61afeef961c3a905c5ee45b2285eb1a82de4d3d 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef INCLUDED_ircd_h
 #define INCLUDED_ircd_h
 
-#include "config.h"
+#include "defaults.h"
 
 struct Client;
 struct rb_dlink_list;
@@ -65,13 +65,13 @@ extern const unsigned long int datecode;
 extern const char *ircd_version;
 extern const char *logFileName;
 extern const char *pidFileName;
-extern bool dorehash;
-extern bool dorehashbans;
-extern bool doremotd;
+extern volatile sig_atomic_t dorehash;
+extern volatile sig_atomic_t dorehashbans;
+extern volatile sig_atomic_t doremotd;
 extern bool kline_queued;
-extern int server_state_foreground;
-extern int opers_see_all_users; /* sno_farconnect.so loaded, operspy without
-                                  accountability, etc */
+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,8 +99,8 @@ 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);