summaryrefslogtreecommitdiff
path: root/minecctl/minecctl.h
blob: 4918ca0b88b0aa7903a4a62c968f1f0e06c73838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef foominecctlhfoo
#define foominecctlhfoo

struct server {
	char *filename;
	char *shortname;
	struct list_head list;
};

struct cfg {
	char *password;
	const char *cfgdir;
	const char *addrstr;
	char *cmdstr;
	struct server *server;
	void (*cmd)(struct cfg *cfg);
	struct list_head addrs;
	struct list_head known_servers;
	int fd;
};

extern bool use_colors;

#endif