s3:dbwrap_watch: split out a db_watched_record_init() helper function
commiteb89748ee4a9c58da8064b41d0253e00c30c213f
authorStefan Metzmacher <metze@samba.org>
Fri, 24 Jun 2022 15:07:43 +0000 (24 15:07 +0000)
committerRalph Boehme <slow@samba.org>
Tue, 26 Jul 2022 13:40:34 +0000 (26 13:40 +0000)
treeacedddd9af3af0b7b67826eb04fa9b2ce3375072
parent095fafbe0c901180b30253b9adb6b2de3bf827f2
s3:dbwrap_watch: split out a db_watched_record_init() helper function

The code to construct a struct db_watched_record is mostly common
between dbwrap_watched_fetch_locked() and dbwrap_watched_do_locked_fn().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/dbwrap/dbwrap_watch.c