#include <ldap.h>
int ldap_memcache_get( LDAP *ld, LDAPMemCache **cachep );
ld |
Connection handle, which is a pointer to an |
cachep |
When you call this function, the function sets this parameter to the pointer to the |
LDAP_SUCCESS if the cache for the specified connection handle was retrieved successfully. LDAP_PARAM_ERROR if an invalid parameter was passed to the function ldap_memcache_get() function gets the cache associated with the specified connection handle (LDAP structure). This cache is used by all search requests made through that connection.
You can call this function if you want to associate a cache with multiple LDAP connection handles. For example, you can call this function to get the cache associated with one connection, then you can call the ldap_memcache_set() function to associate the cache with another connection.
ldap_memcache_set().
Last Updated: 10/01/98 17:06:23