dbwrap: Add dbwrap_do_locked
authorVolker Lendecke <vl@samba.org>
Wed, 9 Nov 2016 07:45:59 +0000 (08:45 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 25 Jul 2017 15:43:16 +0000 (17:43 +0200)
commitcb2a28eb9a16a3bfe8d0373692acc4199f04baee
treec7f6e3881cda63ec5d36f156313389fed9e59e3f
parent45f5a55ae6bf2fdc09cbbc83c127628a1b55b6ef
dbwrap: Add dbwrap_do_locked

With a proper implementation this enables modifications without
having to allocate a record. In really performance sensitive code
paths this matters.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/dbwrap/dbwrap.c
lib/dbwrap/dbwrap.h
lib/dbwrap/dbwrap_private.h