diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2010-12-12 23:45:21 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2010-12-12 23:45:21 +0100 |
commit | 38b08af090769450018505a8547377709b93a9f6 (patch) | |
tree | 33ed5127dd8c8595151cc320895457f871199091 /nslcd/myldap.h | |
parent | 7d9baf67b727c7b50c3666721821e38485d76332 (diff) | |
parent | 42490ca4bab185ac92db5203235ed7515111731a (diff) |
merge changes from trunk
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1329 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/myldap.h')
-rw-r--r-- | nslcd/myldap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nslcd/myldap.h b/nslcd/myldap.h index 0a3bd0b..f7df4a3 100644 --- a/nslcd/myldap.h +++ b/nslcd/myldap.h @@ -76,6 +76,11 @@ void myldap_set_credentials(MYLDAP_SESSION *session,const char *dn, with these searches. This does not close the session. */ void myldap_session_cleanup(MYLDAP_SESSION *session); +/* This checks the timeout value of the session and closes the connection + to the LDAP server if the timeout has expired and there are no pending + searches. */ +void myldap_session_check(MYLDAP_SESSION *session); + /* Close the session and free all the resources allocated for the session. After a call to this function the referenced handle is invalid. */ void myldap_session_close(MYLDAP_SESSION *session); |