]> jfr.im git - solanum.git/blobdiff - include/s_conf.h
Add general::stats_l_oper_only
[solanum.git] / include / s_conf.h
index da6797b52d5eb5fed7686658d46d7d53d67b41cd..b31db9101bc266cba103e765b3a174b7e6c89d57 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  charybdis: Advanced, scalable Internet Relay Chat.
+ *  solanum: Advanced, scalable Internet Relay Chat.
  *  s_conf.h: A header for the configuration functions.
  *
  *  Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
@@ -84,6 +84,7 @@ struct ConfItem
 
 #define CONF_DLINE             0x020000
 #define CONF_EXEMPTDLINE       0x100000
+#define CONF_SECURE            0x200000
 
 #define IsIllegal(x)    ((x)->status & CONF_ILLEGAL)
 
@@ -139,6 +140,12 @@ struct ConfItem
 #define IsConfAllowSCTP(x)     ((x)->flags & CONF_FLAGS_ALLOW_SCTP)
 #define IsConfKlineSpoof(x)    ((x)->flags & CONF_FLAGS_KLINE_SPOOF)
 
+enum stats_l_oper_only {
+       STATS_L_OPER_ONLY_NO,
+       STATS_L_OPER_ONLY_SELF,
+       STATS_L_OPER_ONLY_YES,
+};
+
 /* flag definitions for opers now in client.h */
 
 struct config_file_entry
@@ -190,6 +197,7 @@ struct config_file_entry
        int stats_h_oper_only;
        int stats_o_oper_only;
        int stats_k_oper_only;
+       enum stats_l_oper_only stats_l_oper_only;
        int stats_i_oper_only;
        int stats_P_oper_only;
        int map_oper_only;
@@ -234,6 +242,8 @@ struct config_file_entry
        int away_interval;
        int tls_ciphers_oper_only;
 
+       char **hidden_caps;
+
        int client_flood_max_lines;
        int client_flood_burst_rate;
        int client_flood_burst_max;