Make tevent_req_is_ldap_error public
authorVolker Lendecke <vl@samba.org>
Fri, 19 Jun 2009 10:41:16 +0000 (12:41 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 19 Jun 2009 12:28:22 +0000 (14:28 +0200)
source3/include/tldap.h
source3/lib/tldap.c

index 8e5664241ef228b9f1fc26971170fae12f49a5e3..96272449e5ba2a0ad983083ddd01f7c47cfb5317 100644 (file)
@@ -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);
index 10766fe34f522ff6d7cf605ab984e9e821fb8182..e1dd67634bbe00939a064ac4ce7aa3d5b501a52c 100644 (file)
@@ -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;