diff options
author | Sumit Bose <sbose@redhat.com> | 2010-01-19 12:32:02 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-02 14:41:40 -0500 |
commit | 7c8f422495347e6ff829246ebf5d7faad9f6d160 (patch) | |
tree | bd22991dd01b9b5a347402b1808eddb89e96e3b8 /server/providers/ldap/sdap_async_private.h | |
parent | ad35c1852e4fe3920acc63eb9ada409af0fb7d60 (diff) | |
download | sssd-7c8f422495347e6ff829246ebf5d7faad9f6d160.tar.gz sssd-7c8f422495347e6ff829246ebf5d7faad9f6d160.tar.bz2 sssd-7c8f422495347e6ff829246ebf5d7faad9f6d160.zip |
Use ldap connection callbacks to get file descriptors
Diffstat (limited to 'server/providers/ldap/sdap_async_private.h')
-rw-r--r-- | server/providers/ldap/sdap_async_private.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/server/providers/ldap/sdap_async_private.h b/server/providers/ldap/sdap_async_private.h index 9237f15d..5549626a 100644 --- a/server/providers/ldap/sdap_async_private.h +++ b/server/providers/ldap/sdap_async_private.h @@ -26,8 +26,11 @@ void make_realm_upper_case(const char *upn); struct sdap_handle *sdap_handle_create(TALLOC_CTX *memctx); -int sdap_install_ldap_callbacks(struct sdap_handle *sh, - struct tevent_context *ev); + +int sdap_ldap_connect_callback_add(LDAP *ld, Sockbuf *sb, LDAPURLDesc *srv, + struct sockaddr *addr, struct ldap_conncb *ctx); +void sdap_ldap_connect_callback_del(LDAP *ld, Sockbuf *sb, + struct ldap_conncb *ctx); int sdap_op_add(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_handle *sh, int msgid, |