summaryrefslogtreecommitdiff
path: root/minecctl/minecctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'minecctl/minecctl.h')
-rw-r--r--minecctl/minecctl.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/minecctl/minecctl.h b/minecctl/minecctl.h
index 259ac52..898a93f 100644
--- a/minecctl/minecctl.h
+++ b/minecctl/minecctl.h
@@ -2,15 +2,12 @@
#define foominecctlhfoo
struct cfg {
- /* command line arguments */
const char *cfgdir;
char *rcon_password;
char *rcon_addrstr;
char *mc_addrstr;
- char *cmdstr;
+ char **commands;
bool force_stop;
-
- /* bookkeeping */
bool (*cmd)(struct cfg *cfg);
struct list_head servers;
};