]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ldb: Add Doxygen docs for ldb_set_require_private_event_context()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 30 May 2017 09:17:57 +0000 (21:17 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 31 May 2017 04:34:27 +0000 (06:34 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/include/ldb_module.h

index 9fbbe0dcf78a0ba967e5910bcf857b65a597454c..4cbd8dd032896925bb4c79fa5b060105a504add8 100644 (file)
@@ -217,6 +217,15 @@ typedef int (*ldb_connect_fn)(struct ldb_context *ldb, const char *url,
                              unsigned int flags, const char *options[],
                              struct ldb_module **module);
 
+/**
+ Require that LDB use a private event context for each request
+
+ A private event context may need to be created to avoid nested event
+ loops during ldb_tdb with the locks held.  This indicates that a
+ backend is in use that requires this to hold locks safely.
+
+ \param handle The ldb handle to set the flag on
+ */
 void ldb_set_require_private_event_context(struct ldb_context *ldb);
 
 struct ldb_backend_ops {