| 27 |
|
|
| 28 |
|
#include "ircd_defs.h" |
| 29 |
|
#include "config.h" |
| 30 |
– |
#include "tools.h" |
| 30 |
|
#include "memory.h" |
| 31 |
+ |
#include "list.h" |
| 32 |
|
|
| 33 |
|
struct Client; |
| 34 |
– |
struct dlink_list; |
| 34 |
|
|
| 35 |
|
struct SetOptions |
| 36 |
|
{ |
| 50 |
|
/* |
| 51 |
|
* statistics structures |
| 52 |
|
*/ |
| 53 |
< |
struct ServerStatistics { |
| 53 |
> |
struct ServerStatistics |
| 54 |
> |
{ |
| 55 |
|
uint64_t is_cbs; /* bytes sent to clients */ |
| 56 |
|
uint64_t is_cbr; /* bytes received from clients */ |
| 57 |
|
uint64_t is_sbs; /* bytes sent to servers */ |
| 58 |
|
uint64_t is_sbr; /* bytes received from servers */ |
| 59 |
+ |
|
| 60 |
|
time_t is_cti; /* time spent connected by clients */ |
| 61 |
|
time_t is_sti; /* time spent connected by servers */ |
| 62 |
|
|
| 63 |
|
unsigned int is_cl; /* number of client connections */ |
| 64 |
|
unsigned int is_sv; /* number of server connections */ |
| 65 |
|
unsigned int is_ni; /* connection but no idea who it was */ |
| 65 |
– |
|
| 66 |
|
unsigned int is_ac; /* connections accepted */ |
| 67 |
|
unsigned int is_ref; /* accepts refused */ |
| 68 |
|
unsigned int is_unco; /* unknown commands */ |