From 830fd785a24baab90601d13f2556559f99a416d2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 27 Dec 2015 12:37:25 +0100 Subject: tldap: Add tldap_get/set_stream This will be used to replace a nonencrypted socket with a sasl sealed one. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/include/tldap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/include/tldap.h') diff --git a/source3/include/tldap.h b/source3/include/tldap.h index 0d7e55df9ca..74279a4ba18 100644 --- a/source3/include/tldap.h +++ b/source3/include/tldap.h @@ -117,6 +117,10 @@ bool tevent_req_ldap_error(struct tevent_req *req, TLDAPRC rc); bool tevent_req_is_ldap_error(struct tevent_req *req, TLDAPRC *perr); struct tldap_context *tldap_context_create(TALLOC_CTX *mem_ctx, int fd); +struct tstream_context *tldap_get_tstream(struct tldap_context *ld); +void tldap_set_tstream(struct tldap_context *ld, + struct tstream_context *stream); + bool tldap_connection_ok(struct tldap_context *ld); bool tldap_context_setattr(struct tldap_context *ld, const char *name, const void *pptr); -- cgit v1.2.1