summaryrefslogtreecommitdiff
path: root/minecctl/minecctl.h
blob: 60b71b4b4d6238d4168dc2fc6fcebb1f188cebed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef foominecctlhfoo
#define foominecctlhfoo

struct cfg {
	/* command line arguments */
	const char *cfgdir;
	char *rcon_password;
	char *rcon_addrstr;
	char *mc_addrstr;
	char *cmdstr;
	bool force_stop;

	/* bookkeeping */
	bool (*cmd)(struct cfg *cfg);
	struct list_head servers;
};

#endif