diff options
author | Volker Lendecke <vl@samba.org> | 2016-09-12 17:30:55 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2017-07-25 17:43:16 +0200 |
commit | 09915bf8e5d59969cab7de0e75fd327046cffd8d (patch) | |
tree | be507514fa10d9b5d9beff8750b5027357c19e72 /lib/dbwrap/dbwrap_private.h | |
parent | f0598e985300afd287487cd4975a309cee6dfaa6 (diff) | |
download | samba-09915bf8e5d59969cab7de0e75fd327046cffd8d.tar.gz |
dbwrap: Convert backend store to storev
Convert all implementors of dbwrap_store to a storev-style call
by using the dbwrap_merge_dbufs call
For dbwrap_tdb, this matches tdb_storev.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'lib/dbwrap/dbwrap_private.h')
-rw-r--r-- | lib/dbwrap/dbwrap_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dbwrap/dbwrap_private.h b/lib/dbwrap/dbwrap_private.h index 9b50ccc040e..2858afd8539 100644 --- a/lib/dbwrap/dbwrap_private.h +++ b/lib/dbwrap/dbwrap_private.h @@ -29,7 +29,8 @@ struct tevent_req; struct db_record { struct db_context *db; TDB_DATA key, value; - NTSTATUS (*store)(struct db_record *rec, TDB_DATA data, int flag); + NTSTATUS (*storev)(struct db_record *rec, const TDB_DATA *dbufs, + int num_dbufs, int flag); NTSTATUS (*delete_rec)(struct db_record *rec); void *private_data; }; |