X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/33dcd535b7c7608f9dd0e5bee377b4b725dedb4d..76db5f7dd4bda1d99888c90d0455ebed4fd0b39b:/include/ircd.h diff --git a/include/ircd.h b/include/ircd.h index dd7bd83..218b778 100644 --- a/include/ircd.h +++ b/include/ircd.h @@ -21,7 +21,6 @@ * 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 @@ -43,10 +42,18 @@ struct SetOptions int spam_num; int spam_time; + char operhost[REALLEN]; char operstring[REALLEN]; char adminstring[REALLEN]; }; +struct Metadata +{ + const char *name; + const char *value; + time_t timevalue; +}; + struct Counter { int oper; /* Opers */ @@ -80,7 +87,6 @@ extern struct Client me; extern rb_dlink_list global_client_list; extern struct Client *local[]; extern struct Counter Count; -extern struct timeval SystemTime; extern int default_server_capabs; extern time_t startup_time; @@ -107,4 +113,6 @@ extern int ssl_ok; extern int zlib_ok; extern int maxconnections; +void ircd_shutdown(const char *reason); + #endif