ldb: Add Doxygen docs for 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: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 dab3d2e82359ed0c33ddacb7cfb513e86838b57f..9fbbe0dcf78a0ba967e5910bcf857b65a597454c 100644 (file)
@@ -230,10 +230,15 @@ int ldb_register_backend(const char *url_prefix, ldb_connect_fn, bool);
 
 struct ldb_handle *ldb_handle_new(TALLOC_CTX *mem_ctx, struct ldb_context *ldb);
 
-/*
- * This function obtains the private event context for the handle,
- * which may have been created to avoid nested event loops during
- * ldb_tdb with the locks held
+/**
+ Obtains the private event context for the handle,
+
+ A private event context may have been created to avoid nested event
+ loops during ldb_tdb with the locks held.  Otherwise return the
+ global one.
+
+ \param handle The ldb handle to obtain the event context for
+ \return the tevent event context for this handle (private or global)
  */
 struct tevent_context *ldb_handle_get_event_context(struct ldb_handle *handle);