From 6c05bf3ede7d1f2dc2542837bdb4eb865927a80a Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 3 Aug 2007 07:20:47 +0000 Subject: remove --enable-paged-results configure option and now always do runtime configuration, remove nss_paged_results configfile option and use pagesize option to specify usage of paging or not git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@340 ef36b2f9-881f-0410-afb5-c4e39611909c --- nslcd/ldap-nss.h | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'nslcd/ldap-nss.h') diff --git a/nslcd/ldap-nss.h b/nslcd/ldap-nss.h index 8c8fe9f..064057d 100644 --- a/nslcd/ldap-nss.h +++ b/nslcd/ldap-nss.h @@ -36,13 +36,8 @@ #include #include #include -#ifdef HAVE_SHADOW_H -#include -#endif - #include #include - #include #include @@ -89,10 +84,6 @@ enum ldap_map_selector LM_NONE }; -/* - * POSIX profile information (not used yet) - * see draft-joslin-config-schema-00.txt - */ struct ldap_service_search_descriptor { /* search base, qualified */ @@ -105,29 +96,6 @@ struct ldap_service_search_descriptor struct ldap_service_search_descriptor *lsd_next; }; -enum ldap_session_state -{ - LS_UNINITIALIZED = -1, - LS_INITIALIZED, - LS_CONNECTED_TO_DSA -}; - -/* - * convenient wrapper around pointer into global config list, and a - * connection to an LDAP server. - */ -struct ldap_session -{ - /* the connection */ - LDAP *ls_conn; - /* timestamp of last activity */ - time_t ls_timestamp; - /* has session been connected? */ - enum ldap_session_state ls_state; - /* index into ldc_uris: currently connected DSA */ - int ls_current_uri; -}; - enum ldap_args_types { LA_TYPE_STRING, -- cgit v1.2.3