X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=servers%2Fslapd%2Fback-ldbm%2Fdbcache.c;h=04c21cf3f0cc669c73bfd786980f46c74af420b9;hb=3c598e89fb34a892d369a138daa8c3314294493c;hp=811fbe7441b3d4e9de6d43d11cb744f952141483;hpb=e1f2ed9bc1417de571037b265b4df25ff57cdb1b;p=openldap diff --git a/servers/slapd/back-ldbm/dbcache.c b/servers/slapd/back-ldbm/dbcache.c index 811fbe7441..04c21cf3f0 100644 --- a/servers/slapd/back-ldbm/dbcache.c +++ b/servers/slapd/back-ldbm/dbcache.c @@ -1,8 +1,17 @@ /* ldbmcache.c - maintain a cache of open ldbm files */ /* $OpenLDAP$ */ -/* - * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved. - * COPYING RESTRICTIONS APPLY, see COPYRIGHT file +/* This work is part of OpenLDAP Software . + * + * Copyright 1998-2004 The OpenLDAP Foundation. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted only as authorized by the OpenLDAP + * Public License. + * + * A copy of this license is available in the file LICENSE in the + * top-level directory of the distribution or, alternatively, at + * . */ #include "portable.h" @@ -325,6 +334,7 @@ ldbm_cache_sync( Backend *be ) ldap_pvt_thread_mutex_unlock( &li->li_dbcache_mutex ); } +#if 0 /* macro in proto-back-ldbm.h */ Datum ldbm_cache_fetch( DBCache *db, @@ -333,6 +343,7 @@ ldbm_cache_fetch( { return ldbm_fetch( db->dbc_db, key ); } +#endif /* 0 */ int ldbm_cache_store(