LDAPworld P8: UD does not compile when NO_CACHE defined

This commit is contained in:
Kurt Zeilenga 1998-08-09 02:50:17 +00:00
parent 8893be2975
commit daeb0284b1

View File

@ -722,3 +722,22 @@ SIG_FN chwinsz()
(void) signal(SIGWINCH, chwinsz);
}
#endif
#if defined(NO_CACHE)
void ldap_uncache_entry( LDAP *ld, char *dn )
{
}
int ldap_enable_cache( LDAP *ld, long timeout, long maxmem )
{
return 0;
}
void ldap_flush_cache( LDAP *ld )
{
}
#endif /* NO_CACHE */