]> git.sur5r.net Git - openldap/commitdiff
LDAPworld P8: UD does not compile when NO_CACHE defined
authorKurt Zeilenga <kurt@openldap.org>
Sun, 9 Aug 1998 02:50:17 +0000 (02:50 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 9 Aug 1998 02:50:17 +0000 (02:50 +0000)
clients/ud/main.c

index cb2030c2833505a62e163df2509bae5d9f2fa734..86c0b7567fca02d2328f92a0e294fe6f75e3596c 100644 (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 */