From daeb0284b1d75ae08b6c888e63d3cd2df50d5f41 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 9 Aug 1998 02:50:17 +0000 Subject: [PATCH] LDAPworld P8: UD does not compile when NO_CACHE defined --- clients/ud/main.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/clients/ud/main.c b/clients/ud/main.c index cb2030c283..86c0b7567f 100644 --- a/clients/ud/main.c +++ b/clients/ud/main.c @@ -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 */ -- 2.39.5