diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-28 19:25:20 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-28 19:25:20 +0200 |
commit | 8f29a4d23dd13a80aa26951b17e2a71f4e651cb1 (patch) | |
tree | d09dee2d148e781d31ffd7e95581bf155a9f050f /minecctl/misc.h | |
parent | 105ad577b367cfda224f0cbcf9f7e688615437e0 (diff) |
Introduce the possibility of specifying serveral commands in one go
Diffstat (limited to 'minecctl/misc.h')
-rw-r--r-- | minecctl/misc.h | 6 |
1 files changed, 6 insertions, 0 deletions
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(); |