diff options
author | Volker Lendecke <vl@samba.org> | 2015-12-27 12:37:25 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2016-04-15 15:32:11 +0200 |
commit | 830fd785a24baab90601d13f2556559f99a416d2 (patch) | |
tree | 189b2381132547427a0b9a912bccc5bd45abe856 /source3/include/tldap.h | |
parent | 154570d9e9067ea419ddd5eb6920964a0935711e (diff) | |
download | samba-830fd785a24baab90601d13f2556559f99a416d2.tar.gz |
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 <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include/tldap.h')
-rw-r--r-- | source3/include/tldap.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |