Skip to content
Snippets Groups Projects
Commit 169d6d02 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Add entry.c to complete previous change

parent 62aa401b
No related branches found
No related tags found
No related merge requests found
/* entry.c - ldbm backend entry_release routine */
#include "portable.h"
#include <stdio.h>
#include <ac/socket.h>
#include <ac/string.h>
#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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment