diff options
author | Sumit Bose <sbose@redhat.com> | 2011-06-28 12:58:26 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-06-30 14:09:10 -0400 |
commit | e96c468ed06c3378e2aee6992dabe926d79e1a2d (patch) | |
tree | 44715455c2186cf29fa0d865c8d4db4ad498ba36 /src/providers/ldap/sdap_async.h | |
parent | fda9ee900387d9d793e3696cd32b73c253097fe3 (diff) | |
download | sssd-e96c468ed06c3378e2aee6992dabe926d79e1a2d.tar.gz sssd-e96c468ed06c3378e2aee6992dabe926d79e1a2d.tar.bz2 sssd-e96c468ed06c3378e2aee6992dabe926d79e1a2d.zip |
Use ldap_init_fd() instead of ldap_initialize() if available
Diffstat (limited to 'src/providers/ldap/sdap_async.h')
-rw-r--r-- | src/providers/ldap/sdap_async.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async.h b/src/providers/ldap/sdap_async.h index aff104cc..4115f621 100644 --- a/src/providers/ldap/sdap_async.h +++ b/src/providers/ldap/sdap_async.h @@ -22,6 +22,8 @@ #ifndef _SDAP_ASYNC_H_ #define _SDAP_ASYNC_H_ +#include <sys/types.h> +#include <sys/socket.h> #include <talloc.h> #include <tevent.h> #include "providers/dp_backend.h" @@ -32,6 +34,7 @@ struct tevent_req *sdap_connect_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, const char *uri, + struct sockaddr_storage *sockaddr, bool use_start_tls); int sdap_connect_recv(struct tevent_req *req, TALLOC_CTX *memctx, |