| 32 |
|
#include "config.h" |
| 33 |
|
|
| 34 |
|
|
| 35 |
< |
struct SetOptions |
| 35 |
> |
struct |
| 36 |
|
{ |
| 37 |
|
unsigned int autoconn; /* autoconn enabled for all servers? */ |
| 38 |
|
int floodcount; /* Number of messages in 1 second */ |
| 41 |
|
unsigned int ident_timeout; /* timeout for identd lookups */ |
| 42 |
|
int spam_num; |
| 43 |
|
unsigned int spam_time; |
| 44 |
< |
}; |
| 44 |
> |
} GlobalSetOptions; |
| 45 |
|
|
| 46 |
|
/* |
| 47 |
|
* statistics structures |
| 83 |
|
unsigned int max_tot; /* MAX global clients */ |
| 84 |
|
unsigned int max_loc_con; /* MAX local connection count (clients + server) */ |
| 85 |
|
unsigned int max_loc_cli; /* XXX This is redundant - Max local client count */ |
| 86 |
< |
}; |
| 86 |
> |
} Count; |
| 87 |
|
|
| 88 |
< |
struct ServerState_t |
| 88 |
> |
struct |
| 89 |
|
{ |
| 90 |
|
unsigned int foreground; |
| 91 |
< |
}; |
| 91 |
> |
} server_state; |
| 92 |
|
|
| 93 |
|
|
| 94 |
|
#ifdef HAVE_LIBGEOIP |
| 103 |
|
extern int dorehash; |
| 104 |
|
extern int doremotd; |
| 105 |
|
extern struct event event_write_links_file; |
| 106 |
– |
extern struct Counter Count; |
| 106 |
|
extern struct ServerStatistics ServerStats; |
| 108 |
– |
extern struct SetOptions GlobalSetOptions; /* defined in ircd.c */ |
| 109 |
– |
extern struct ServerState_t server_state; |
| 107 |
|
extern struct timeval SystemTime; |
| 108 |
|
#define CurrentTime SystemTime.tv_sec |
| 109 |
|
extern int unsigned default_server_capabs; |