summaryrefslogtreecommitdiff
path: root/src/core/server-setup-rec.h
blob: 5e6edb7f01154a4184e846a9dda582cb3c8e9fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
int type; /* module_get_uniq_id("SERVER SETUP", 0) */
int chat_type; /* chat_protocol_lookup(xx) */

char *chatnet;

char *address;
int port;
char *password;

char *own_host; /* address to use when connecting this server */
IPADDR *own_ip; /* resolved own_address if not NULL */

time_t last_connect; /* to avoid reconnecting too fast.. */

int autoconnect:1;
int last_failed:1; /* if last connection attempt failed */
int banned:1; /* if we're banned from this server */

GHashTable *module_data;