diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-28 19:25:20 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-28 19:25:20 +0200 |
commit | 8f29a4d23dd13a80aa26951b17e2a71f4e651cb1 (patch) | |
tree | d09dee2d148e781d31ffd7e95581bf155a9f050f /minecctl/minecctl.h | |
parent | 105ad577b367cfda224f0cbcf9f7e688615437e0 (diff) |
Introduce the possibility of specifying serveral commands in one go
Diffstat (limited to 'minecctl/minecctl.h')
-rw-r--r-- | minecctl/minecctl.h | 5 |
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; }; |