mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:dbwrap: add dbwrap_record_delete(), a wrapper for record->delete_rec
This commit is contained in:
parent
b257e83d89
commit
46370441b7
@ -118,6 +118,11 @@ NTSTATUS dbwrap_record_store(struct db_record *rec, TDB_DATA data, int flags)
|
||||
return rec->store(rec, data, flags);
|
||||
}
|
||||
|
||||
NTSTATUS dbwrap_record_delete(struct db_record *rec)
|
||||
{
|
||||
return rec->delete_rec(rec);
|
||||
}
|
||||
|
||||
TDB_DATA dbwrap_fetch(struct db_context *db, TALLOC_CTX *mem_ctx,
|
||||
TDB_DATA key)
|
||||
{
|
||||
|
@ -64,6 +64,7 @@ TDB_DATA dbwrap_record_get_key(const struct db_record *rec);
|
||||
TDB_DATA dbwrap_record_get_value(const struct db_record *rec);
|
||||
void *dbwrap_record_get_private_data(const struct db_record *rec);
|
||||
NTSTATUS dbwrap_record_store(struct db_record *rec, TDB_DATA data, int flags);
|
||||
NTSTATUS dbwrap_record_delete(struct db_record *rec);
|
||||
|
||||
NTSTATUS dbwrap_delete(struct db_context *db, TDB_DATA key);
|
||||
NTSTATUS dbwrap_store(struct db_context *db, TDB_DATA key,
|
||||
|
Loading…
Reference in New Issue
Block a user