diff options
author | Volker Lendecke <vl@samba.org> | 2009-06-19 12:41:16 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-06-19 14:28:22 +0200 |
commit | 663e841ecdd4baddcdc4905a72c78c2868a8c408 (patch) | |
tree | 668850b33bd104bad69c1e1d47cd99ce8a7f4939 /source3 | |
parent | 5cb6bf6f9d733cc085013174024785ab49a8bb51 (diff) | |
download | samba-663e841ecdd4baddcdc4905a72c78c2868a8c408.tar.gz samba-663e841ecdd4baddcdc4905a72c78c2868a8c408.tar.bz2 samba-663e841ecdd4baddcdc4905a72c78c2868a8c408.zip |
Make tevent_req_is_ldap_error public
Diffstat (limited to 'source3')
-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; |