From 90e27b4356f2a6ab98e812c4096b0b76f94a8fb3 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 7 Jul 2020 18:41:38 +0200 Subject: Flesh out the ping implementation --- minecctl/rcon-commands.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'minecctl/rcon-commands.h') diff --git a/minecctl/rcon-commands.h b/minecctl/rcon-commands.h index b2720b4..84d5529 100644 --- a/minecctl/rcon-commands.h +++ b/minecctl/rcon-commands.h @@ -4,13 +4,12 @@ bool do_status(struct cfg *cfg); -bool do_ping(struct cfg *cfg); - bool do_stop(struct cfg *cfg); bool do_stop_all(struct cfg *cfg); -bool do_rcon_pcount(struct cfg *cfg, unsigned *online, unsigned *max); +bool do_rcon_pcount(struct cfg *cfg, struct server *server, unsigned *online, + unsigned *max, const char **error); bool do_console(struct cfg *cfg); -- cgit v1.2.3