From: Hallvard Furuseth Date: Tue, 13 Apr 1999 06:15:03 +0000 (+0000) Subject: Add entry.c to complete previous change X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~206 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=169d6d0200548ce49d54a8950c991ab66dd7acaf;p=openldap Add entry.c to complete previous change --- diff --git a/servers/slapd/back-ldbm/entry.c b/servers/slapd/back-ldbm/entry.c new file mode 100644 index 0000000000..717cf68a13 --- /dev/null +++ b/servers/slapd/back-ldbm/entry.c @@ -0,0 +1,28 @@ +/* entry.c - ldbm backend entry_release routine */ + +#include "portable.h" + +#include + +#include +#include + +#include "slap.h" +#include "back-ldbm.h" +#include "proto-back-ldbm.h" + + +int +ldbm_back_entry_release_rw( + Backend *be, + Entry *e, + int rw +) +{ + struct ldbminfo *li = (struct ldbminfo *) be->be_private; + + /* free entry and reader or writer lock */ + cache_return_entry_rw( &li->li_cache, e, rw ); + + return 0; +}