diff options
Diffstat (limited to 'minecctl/minecctl.h')
-rw-r--r-- | minecctl/minecctl.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/minecctl/minecctl.h b/minecctl/minecctl.h index 604225d..9e3d79b 100644 --- a/minecctl/minecctl.h +++ b/minecctl/minecctl.h @@ -13,10 +13,10 @@ struct server { struct cfg { /* command line arguments */ - char *cfgdir; - char *password; - char *addrstr; - char *mcaddrstr; + const char *cfgdir; + char *rcon_password; + char *rcon_addrstr; + char *mc_addrstr; char *cmdstr; bool force_stop; @@ -27,5 +27,7 @@ struct cfg { void read_server_config(struct server *server); +struct server *get_default_server(struct cfg *cfg); + #endif |