summaryrefslogtreecommitdiff
path: root/source3/include/tldap.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-28 15:29:38 +0200
committerVolker Lendecke <vl@samba.org>2009-06-28 15:51:02 +0200
commit344dbced50dda7ad788b2e1908896ae926ae471a (patch)
tree9a49e6c5d855ff4a81065bcef11faf5560b6ebd3 /source3/include/tldap.h
parentc594d21fdaea3fcee11afddc4f0d3e8c065db815 (diff)
downloadsamba-344dbced50dda7ad788b2e1908896ae926ae471a.tar.gz
samba-344dbced50dda7ad788b2e1908896ae926ae471a.tar.bz2
samba-344dbced50dda7ad788b2e1908896ae926ae471a.zip
If the connection is down, don't try another write.
Diffstat (limited to 'source3/include/tldap.h')
-rw-r--r--source3/include/tldap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/tldap.h b/source3/include/tldap.h
index 1d920f8adc..cd50298569 100644
--- a/source3/include/tldap.h
+++ b/source3/include/tldap.h
@@ -48,6 +48,7 @@ struct tldap_mod {
bool tevent_req_is_ldap_error(struct tevent_req *req, int *perr);
struct tldap_context *tldap_context_create(TALLOC_CTX *mem_ctx, int fd);
+bool tldap_connection_ok(struct tldap_context *ld);
bool tldap_context_setattr(struct tldap_context *ld,
const char *name, const void *pptr);
void *tldap_context_getattr(struct tldap_context *ld, const char *name);