Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/ldap-nss.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-08-03 09:20:47 +0200
committerArthur de Jong <arthur@arthurdejong.org>2007-08-03 09:20:47 +0200
commit6c05bf3ede7d1f2dc2542837bdb4eb865927a80a (patch)
tree645137d53d95f44af4da27eb5cb549234488eea9 /nslcd/ldap-nss.h
parent82bc06ff7f234f2a4720ccbb08a5d20eb362a105 (diff)
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
Diffstat (limited to 'nslcd/ldap-nss.h')
-rw-r--r--nslcd/ldap-nss.h32
1 files changed, 0 insertions, 32 deletions
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 <time.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#ifdef HAVE_SHADOW_H
-#include <shadow.h>
-#endif
-
#include <netdb.h>
#include <netinet/in.h>
-
#include <nss.h>
#include <ldap.h>
@@ -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,