/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2000-2006 The OpenLDAP Foundation.
+ * Copyright 2000-2007 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
int bdb_dn2idl(
Operation *op,
+ u_int32_t locker,
Entry *e,
ID *ids,
ID *stack );
int bdb_filter_candidates(
Operation *op,
+ u_int32_t locker,
Filter *f,
ID *ids,
ID *tmp,
int bdb_idl_fetch_key(
BackendDB *be,
DB *db,
- DB_TXN *tid,
+ u_int32_t locker,
DBT *key,
ID *ids,
DBC **saved_cursor,
bdb_key_read(
Backend *be,
DB *db,
- DB_TXN *txn,
+ u_int32_t locker,
struct berval *k,
ID *ids,
DBC **saved_cursor,
ldap_pvt_thread_mutex_lock( &(e)->bei_kids_mutex )
#define bdb_cache_entryinfo_unlock(e) \
ldap_pvt_thread_mutex_unlock( &(e)->bei_kids_mutex )
+#define bdb_cache_entryinfo_trylock(e) \
+ ldap_pvt_thread_mutex_trylock( &(e)->bei_kids_mutex )
/* What a mess. Hopefully the current cache scheme will stabilize
* and we can trim out all of this stuff.