diff options
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bounce.h b/bounce.h index d08f21f..2bcd77c 100644 --- a/bounce.h +++ b/bounce.h @@ -174,8 +174,11 @@ size_t localUnix(int fds[], size_t cap, const char *path); int localAccept(struct tls **tls, int bind); extern struct timeval serverQueueInterval; -void serverConfig(bool insecure, const char *cert, const char *priv); +void serverConfig( + bool insecure, const char *trust, const char *cert, const char *priv +); int serverConnect(const char *bindHost, const char *host, const char *port); +void serverPrintCert(void); void serverRecv(void); void serverSend(const char *ptr, size_t len); void serverFormat(const char *format, ...) |