From 64bf731865c7ea0a95d658099e7578f4bae3a9cc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 20 Jun 2005 01:15:47 +0000 Subject: r7769: added client support in the tls library api (This used to be commit 71ee6a1df542b95c61217de71e6f56b8ce9d81b5) --- source4/lib/tls/tls.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source4/lib/tls/tls.h') diff --git a/source4/lib/tls/tls.h b/source4/lib/tls/tls.h index 3046e35a1c..a046b91637 100644 --- a/source4/lib/tls/tls.h +++ b/source4/lib/tls/tls.h @@ -40,6 +40,13 @@ struct tls_context *tls_init_server(struct tls_params *parms, const char *plain_chars, BOOL tls_enable); +/* + call tls_init_client() on each new client connection +*/ +struct tls_context *tls_init_client(struct socket_context *sock, + struct fd_event *fde, + BOOL tls_enable); + /* call these to send and receive data. They behave like socket_send() and socket_recv() */ -- cgit