From 5b680ac8ef46fc1714f2ab59a07f68ac386ad89b Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Thu, 15 Apr 2010 18:26:18 +0200 Subject: Make the handling of fd events opaque Depending on the version of the OpenLDAP libraries we use two different schemes to find the file descriptor of the connection to the LDAP server. This patch removes the related ifdefs from the main code and introduces helper functions which can handle the specific cases. --- src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index e56d7b16..92244f4a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -722,6 +722,7 @@ libsss_ldap_la_SOURCES = \ providers/ldap/sdap_async_accounts.c \ providers/ldap/sdap_async_connection.c \ providers/ldap/sdap_child_helpers.c \ + providers/ldap/sdap_fd_events.c \ providers/ldap/sdap.c \ util/user_info_msg.c \ util/sss_ldap.c \ @@ -793,6 +794,7 @@ libsss_ipa_la_SOURCES = \ providers/ldap/sdap_async_accounts.c \ providers/ldap/sdap_async_connection.c \ providers/ldap/sdap_child_helpers.c \ + providers/ldap/sdap_fd_events.c \ providers/ldap/sdap.c \ util/user_info_msg.c \ util/sss_ldap.c \ -- cgit