From d73d926458fd92f15287fa6bc0246b79d06c94d4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 30 May 2017 21:04:02 +1200 Subject: [PATCH] ldb: Add Doxygen docs for ldb_schema_set_override_indexlist() Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- lib/ldb/include/ldb_module.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/ldb/include/ldb_module.h b/lib/ldb/include/ldb_module.h index d8e650e8f24..dab3d2e8235 100644 --- a/lib/ldb/include/ldb_module.h +++ b/lib/ldb/include/ldb_module.h @@ -133,6 +133,16 @@ typedef const struct ldb_schema_attribute *(*ldb_attribute_handler_override_fn_t void ldb_schema_attribute_set_override_handler(struct ldb_context *ldb, ldb_attribute_handler_override_fn_t override, void *private_data); + +/** + Allow the caller to define that the callback for the attribute handler + also overrides the index list + + \param ldb The ldb context + \param one_level_indexes Indicates that the index for SCOPE_ONELEVEL + should also be maintained + +*/ void ldb_schema_set_override_indexlist(struct ldb_context *ldb, bool one_level_indexes); -- 2.47.2