summaryrefslogtreecommitdiffstats
path: root/server/providers/ldap/sdap_async_private.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-01-19 12:32:02 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-02-02 14:41:40 -0500
commit7c8f422495347e6ff829246ebf5d7faad9f6d160 (patch)
treebd22991dd01b9b5a347402b1808eddb89e96e3b8 /server/providers/ldap/sdap_async_private.h
parentad35c1852e4fe3920acc63eb9ada409af0fb7d60 (diff)
downloadsssd-7c8f422495347e6ff829246ebf5d7faad9f6d160.tar.gz
sssd-7c8f422495347e6ff829246ebf5d7faad9f6d160.tar.xz
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.h7
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 9237f15d4..5549626a4 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,