aboutsummaryrefslogtreecommitdiff
path: root/ssh/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssh/util.h')
-rw-r--r--ssh/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ssh/util.h b/ssh/util.h
new file mode 100644
index 0000000..0ca7d45
--- /dev/null
+++ b/ssh/util.h
@@ -0,0 +1,7 @@
+#pragma once
+
+#include <stdbool.h>
+
+
+// Returns whether successful.
+bool parse_host_port(const char *arg, const char **server_host, int *port);