| 28 |
|
#include "ircd_defs.h" |
| 29 |
|
#include "config.h" |
| 30 |
|
|
| 31 |
– |
//struct Client; |
| 31 |
|
|
| 32 |
|
struct SetOptions |
| 33 |
|
{ |
| 68 |
|
unsigned int is_abad; /* bad auth requests */ |
| 69 |
|
}; |
| 70 |
|
|
| 72 |
– |
extern struct ServerStatistics ServerStats; |
| 73 |
– |
|
| 74 |
– |
|
| 71 |
|
struct Counter |
| 72 |
|
{ |
| 73 |
|
uint64_t totalrestartcount; /* Total client count ever */ |
| 82 |
|
unsigned int max_loc_cli; /* XXX This is redundant - Max local client count */ |
| 83 |
|
}; |
| 84 |
|
|
| 89 |
– |
extern struct SetOptions GlobalSetOptions; /* defined in ircd.c */ |
| 90 |
– |
|
| 85 |
|
struct ServerState_t |
| 86 |
|
{ |
| 87 |
|
int foreground; |
| 88 |
|
}; |
| 89 |
|
|
| 96 |
– |
extern struct ServerState_t server_state; |
| 90 |
|
|
| 91 |
|
extern char **myargv; |
| 92 |
|
extern const char *infotext[]; |
| 97 |
|
extern int dorehash; |
| 98 |
|
extern int doremotd; |
| 99 |
|
extern struct Counter Count; |
| 100 |
+ |
extern struct ServerStatistics ServerStats; |
| 101 |
+ |
extern struct SetOptions GlobalSetOptions; /* defined in ircd.c */ |
| 102 |
+ |
extern struct ServerState_t server_state; |
| 103 |
|
extern struct timeval SystemTime; |
| 104 |
|
#define CurrentTime SystemTime.tv_sec |
| 105 |
|
extern int default_server_capabs; |