summaryrefslogtreecommitdiff
path: root/lib/ldb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-05-30 21:04:02 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-05-31 06:34:27 +0200
commitd73d926458fd92f15287fa6bc0246b79d06c94d4 (patch)
treec8604e029771f7b9fbc86a7a5568b301bd536cbe /lib/ldb
parentbcd891dc3f77aa54e73a3fe23b6d1feab80a4c86 (diff)
downloadsamba-d73d926458fd92f15287fa6bc0246b79d06c94d4.tar.gz
ldb: Add Doxygen docs for ldb_schema_set_override_indexlist()
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'lib/ldb')
-rw-r--r--lib/ldb/include/ldb_module.h10
1 files changed, 10 insertions, 0 deletions
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);