From 957634c7c434b6c8d696ca8f4098e96a201fdfb0 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Fri, 26 Jun 2020 23:07:28 +0200 Subject: Allow commands to return success or not rather than just dying --- minecctl/minecctl-rcon.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'minecctl/minecctl-rcon.h') diff --git a/minecctl/minecctl-rcon.h b/minecctl/minecctl-rcon.h index 181dc43..348845f 100644 --- a/minecctl/minecctl-rcon.h +++ b/minecctl/minecctl-rcon.h @@ -1,18 +1,18 @@ #ifndef foominecctlrconhfoo #define foominecctlrconhfoo -void do_status(struct cfg *cfg); +bool do_status(struct cfg *cfg); -void do_ping(struct cfg *cfg); +bool do_ping(struct cfg *cfg); -void do_stop(struct cfg *cfg); +bool do_stop(struct cfg *cfg); -void do_stop_all(struct cfg *cfg); +bool do_stop_all(struct cfg *cfg); -void do_pcount(struct cfg *cfg); +bool do_pcount(struct cfg *cfg); -void do_console(struct cfg *cfg); +bool do_console(struct cfg *cfg); -void do_command(struct cfg *cfg); +bool do_command(struct cfg *cfg); #endif -- cgit v1.2.3