/* 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 default_set; bool (*cmd)(struct cfg *cfg); struct list_head servers; }; void dump_config(struct cfg *cfg); #endif