From 8f29a4d23dd13a80aa26951b17e2a71f4e651cb1 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Sun, 28 Jun 2020 19:25:20 +0200 Subject: Introduce the possibility of specifying serveral commands in one go --- minecctl/minecctl.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'minecctl/minecctl.h') 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; }; -- cgit v1.2.3