ldb: Add Doxygen documentation for ldb_handle_use_global_event_context()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 30 May 2017 09:12:33 +0000 (21:12 +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 4cbd8dd032896925bb4c79fa5b060105a504add8..3d56e68eddd2b7959d4ea999e99437f828321e70 100644 (file)
@@ -492,15 +492,19 @@ int ldb_unpack_data_only_attr_list_flags(struct ldb_context *ldb,
 #define LDB_UNPACK_DATA_FLAG_NO_DN           0x0002
 #define LDB_UNPACK_DATA_FLAG_NO_VALUES_ALLOC 0x0004
 
-/*
- * This function forces a specific ldb handle to use the global event
- * context.  This allows a nested event loop to operate, so any open
- * transaction also needs to be aborted.
- *
- * Any events on this event context will be lost
- *
- * This is used in Samba when sending an IRPC to another part of the
- * same process instead of making a local DB modification.
+/**
+ Forces a specific ldb handle to use the global event context.
+
+ This allows a nested event loop to operate, so any open
+ transaction also needs to be aborted.
+
+ Any events on this event context will be lost.
+
+ This is used in Samba when sending an IRPC to another part of the
+ same process instead of making a local DB modification.
+
+ \param handle The ldb handle to force to use the global context
+
  */
 void ldb_handle_use_global_event_context(struct ldb_handle *handle);