From: Andrew Bartlett Date: Tue, 30 May 2017 09:12:33 +0000 (+1200) Subject: ldb: Add Doxygen documentation for ldb_handle_use_global_event_context() X-Git-Tag: ldb-1.1.30~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e001ac9ef56205ad8e7fdcfb1bff771f989939f1;p=thirdparty%2Fsamba.git ldb: Add Doxygen documentation for ldb_handle_use_global_event_context() Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/lib/ldb/include/ldb_module.h b/lib/ldb/include/ldb_module.h index 4cbd8dd0328..3d56e68eddd 100644 --- a/lib/ldb/include/ldb_module.h +++ b/lib/ldb/include/ldb_module.h @@ -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);