Small simplification, this has not been used since 2014 when the
notifyd went in. Can easily be added if needed again.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
db->fetch_locked);
}
-struct db_record *dbwrap_try_fetch_locked(struct db_context *db,
- TALLOC_CTX *mem_ctx,
- TDB_DATA key)
-{
- return dbwrap_fetch_locked_internal(
- db, mem_ctx, key,
- db->try_fetch_locked
- ? db->try_fetch_locked : db->fetch_locked);
-}
-
struct db_context *dbwrap_record_get_db(struct db_record *rec)
{
return rec->db;
struct db_record *dbwrap_fetch_locked(struct db_context *db,
TALLOC_CTX *mem_ctx,
TDB_DATA key);
-struct db_record *dbwrap_try_fetch_locked(struct db_context *db,
- TALLOC_CTX *mem_ctx,
- TDB_DATA key);
struct db_context *dbwrap_record_get_db(struct db_record *rec);
void dbwrap_lock_order_lock(const char *db_name,