summaryrefslogtreecommitdiff
path: root/source4/lib/tls/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tls/tls.h')
-rw-r--r--source4/lib/tls/tls.h7
1 files changed, 7 insertions, 0 deletions
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
@@ -41,6 +41,13 @@ struct tls_context *tls_init_server(struct tls_params *parms,
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()
*/
NTSTATUS tls_socket_recv(struct tls_context *tls, void *buf, size_t wantlen,