diff options
Diffstat (limited to 'minecctl/minecctl.h')
-rw-r--r-- | minecctl/minecctl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/minecctl/minecctl.h b/minecctl/minecctl.h index 4918ca0..17dc9c6 100644 --- a/minecctl/minecctl.h +++ b/minecctl/minecctl.h @@ -11,15 +11,21 @@ struct cfg { char *password; const char *cfgdir; const char *addrstr; + const char *mcaddrstr; char *cmdstr; struct server *server; void (*cmd)(struct cfg *cfg); + bool force_stop; struct list_head addrs; + struct list_head mcaddrs; struct list_head known_servers; - int fd; }; extern bool use_colors; +char *ask_password(); + +int connect_any(struct list_head *addrs, bool may_fail); + #endif |