diff options
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 3 |
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, ...) |