]> jfr.im git - solanum.git/blobdiff - include/ircd.h
global masktrace doesn't need to be an operspy action
[solanum.git] / include / ircd.h
index c3fa25dbd096a7a71bf19384aaf0f2b5be101a20..28df4d5b3560baf3e1a3c20f3438216beb966ece 100644 (file)
  *  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;
@@ -63,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;
@@ -101,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