summaryrefslogtreecommitdiff
path: root/minecctl/minecctl.h
blob: 14243c6f909d0b06bab3fa8b8f91cf8ab95e217d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foominecctlhfoo
#define foominecctlhfoo

struct cfg {
	const char *cfgdir;
	char *rcon_password;
	char *rcon_addrstr;
	char *mc_addrstr;
	char **commands;
	bool force_stop;
	bool (*cmd)(struct cfg *cfg);
	struct list_head servers;
};

void dump_config(struct cfg *cfg);

#endif