summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-04 21:31:53 -0500
committerJune McEnroe <june@causal.agency>2019-11-04 21:31:53 -0500
commit41a41808e321aee9601273d533d21af7a4b49d2a (patch)
treea219d4ce547578c2ad0f2bfaf70df1ebaf5d82da /bounce.h
parentZero PASS parameter (diff)
downloadpounce-41a41808e321aee9601273d533d21af7a4b49d2a.tar.gz
pounce-41a41808e321aee9601273d533d21af7a4b49d2a.zip
Add options for TLS client certificate
Diffstat (limited to '')
-rw-r--r--bounce.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bounce.h b/bounce.h
index 129dd7b..33c1fee 100644
--- a/bounce.h
+++ b/bounce.h
@@ -79,7 +79,8 @@ size_t listenBind(int fds[], size_t cap, const char *host, const char *port);
 size_t listenUnix(int fds[], size_t cap, const char *path);
 struct tls *listenAccept(int *fd, int bind);
 
-int serverConnect(bool insecure, const char *host, const char *port);
+void serverConfig(bool insecure, const char *cert, const char *priv);
+int serverConnect(const char *host, const char *port);
 void serverRecv(void);
 void serverSend(const char *ptr, size_t len);
 void serverFormat(const char *format, ...)