diff options
-rw-r--r-- | source3/include/tldap.h | 2 | ||||
-rw-r--r-- | source3/lib/tldap.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/tldap.h b/source3/include/tldap.h index 8e5664241e..96272449e5 100644 --- a/source3/include/tldap.h +++ b/source3/include/tldap.h @@ -45,6 +45,8 @@ struct tldap_mod { DATA_BLOB *values; }; +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_context_setattr(struct tldap_context *ld, const char *name, const void *pptr); diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 10766fe34f..e1dd67634b 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -19,7 +19,7 @@ #include "includes.h" -static bool tevent_req_is_ldap_error(struct tevent_req *req, int *perr) +bool tevent_req_is_ldap_error(struct tevent_req *req, int *perr) { enum tevent_req_state state; uint64_t err; |