From 663e841ecdd4baddcdc4905a72c78c2868a8c408 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 19 Jun 2009 12:41:16 +0200 Subject: Make tevent_req_is_ldap_error public --- source3/include/tldap.h | 2 ++ source3/lib/tldap.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- cgit