From 8f29a4d23dd13a80aa26951b17e2a71f4e651cb1 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Sun, 28 Jun 2020 19:25:20 +0200 Subject: Introduce the possibility of specifying serveral commands in one go --- minecctl/misc.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'minecctl/misc.h') diff --git a/minecctl/misc.h b/minecctl/misc.h index 6abed5e..c8254df 100644 --- a/minecctl/misc.h +++ b/minecctl/misc.h @@ -5,8 +5,14 @@ extern bool use_colors; void set_use_colors(); +char **strv_copy(char *const *strv); + +char **strv_from_strs(const char *first, ...); + char *strv_join(char *const *strv); +void strv_free(char **strv); + int connect_any(struct list_head *addrs, bool may_fail); char *ask_password(); -- cgit v1.2.3