]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/s_stats.h
Fix a typo in configure (glad it was only a minor typo in the help text)
[irc/rqf/shadowircd.git] / include / s_stats.h
index 0ed1634d1a5fb7f964d9a8ecdc72b774479a152a..f4f45c0921656ce015a1102f199bc8ab47f4cf4c 100644 (file)
@@ -27,8 +27,6 @@
 #ifndef INCLUDED_s_stats_h
 #define INCLUDED_s_stats_h
 
-#include "config.h"
-
 #define _1MEG     (1024.0)
 #define _1GIG     (1024.0*1024.0)
 #define _1TER     (1024.0*1024.0*1024.0)
@@ -47,16 +45,12 @@ struct ServerStatistics
        unsigned int is_cl;     /* number of client connections */
        unsigned int is_sv;     /* number of server connections */
        unsigned int is_ni;     /* connection but no idea who it was */
-       unsigned long long int is_cbs;  /* bytes sent to clients */\r
-       unsigned long long int is_cbr;  /* bytes received to clients */\r
-       unsigned long long int is_sbs;  /* bytes sent to servers */\r
+       unsigned long long int is_cbs;  /* bytes sent to clients */
+       unsigned long long int is_cbr;  /* bytes received to clients */
+       unsigned long long int is_sbs;  /* bytes sent to servers */
        unsigned long long int is_sbr;  /* bytes received to servers */
-       unsigned long is_cks;   /* k-bytes sent to clients */
-       unsigned long is_ckr;   /* k-bytes received to clients */
-       unsigned long is_sks;   /* k-bytes sent to servers */
-       unsigned long is_skr;   /* k-bytes received to servers */
-       time_t is_cti;          /* time spent connected by clients */\r
-       time_t is_sti;          /* time spent connected by servers */
+       unsigned long long int is_cti;  /* time spent connected by clients */
+       unsigned long long int is_sti;  /* time spent connected by servers */
        unsigned int is_ac;     /* connections accepted */
        unsigned int is_ref;    /* accepts refused */
        unsigned int is_unco;   /* unknown commands */
@@ -69,6 +63,7 @@ struct ServerStatistics
        unsigned int is_asuc;   /* successful auth requests */
        unsigned int is_abad;   /* bad auth requests */
        unsigned int is_rej;    /* rejected from cache */
+       unsigned int is_thr;    /* number of throttled connections */
        unsigned int is_ssuc;   /* successful sasl authentications */
        unsigned int is_sbad;   /* failed sasl authentications */
        unsigned int is_tgch;   /* messages blocked due to target change */
@@ -76,6 +71,4 @@ struct ServerStatistics
 
 extern struct ServerStatistics ServerStats;
 
-extern void count_memory(struct Client *);
-
 #endif /* INCLUDED_s_stats_h */