ldb: Add ldb_handle_get_event_context()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 4 May 2017 09:39:21 +0000 (11:39 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 31 May 2017 04:34:26 +0000 (06:34 +0200)
commita83df55693bf04fb65d776af2591c8c82f211d6c
tree518879262d8fbad8a8fa146710024110f781ec29
parent1ba6b9aae88f369c58f250aa53223d98aad8564c
ldb: Add ldb_handle_get_event_context()

This will allow us to obtain a private event context for use while we hold
locks in ldb_tdb, that is not shared with the global state of the application.

This will ensure we do not perform other operations while we hold the lock

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/ABI/ldb-1.1.29.sigs
lib/ldb/common/ldb.c
lib/ldb/include/ldb_module.h
lib/ldb/include/ldb_private.h