]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/s_stats.h
Working over zipstats bug and moving on the new ServerStats struct (without Kb counti...
[irc/rqf/shadowircd.git] / include / s_stats.h
index 2c611a437ce95a640b6da6020334a574d288976d..bf1b4efe6219620c773a0c24061a79fbb0808a70 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,14 +45,10 @@ 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 short is_cbs;  /* bytes sent to clients */
-       unsigned short is_cbr;  /* bytes received to clients */
-       unsigned short is_sbs;  /* bytes sent to servers */
-       unsigned short 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 */
+       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_sbr;  /* bytes received to servers */
        time_t is_cti;          /* time spent connected by clients */
        time_t is_sti;          /* time spent connected by servers */
        unsigned int is_ac;     /* connections accepted */
@@ -76,6 +70,4 @@ struct ServerStatistics
 
 extern struct ServerStatistics ServerStats;
 
-extern void count_memory(struct Client *);
-
 #endif /* INCLUDED_s_stats_h */