From bcd891dc3f77aa54e73a3fe23b6d1feab80a4c86 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 30 May 2017 21:00:34 +1200 Subject: [PATCH] ldb: Add Doxygen docs for ldb_schema_attribute_set_override_handler Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- lib/ldb/include/ldb_module.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/ldb/include/ldb_module.h b/lib/ldb/include/ldb_module.h index 048f6675b1a..d8e650e8f24 100644 --- a/lib/ldb/include/ldb_module.h +++ b/lib/ldb/include/ldb_module.h @@ -122,6 +122,14 @@ void ldb_schema_attribute_remove(struct ldb_context *ldb, const char *name); /* we allow external code to override the name -> schema_attribute function */ typedef const struct ldb_schema_attribute *(*ldb_attribute_handler_override_fn_t)(struct ldb_context *, void *, const char *); +/** + Allow the caller to define a callback for the attribute handler + + \param ldb The ldb context + \param override The callback to be used for attribute lookups + \param private_data Private data for the callback + +*/ void ldb_schema_attribute_set_override_handler(struct ldb_context *ldb, ldb_attribute_handler_override_fn_t override, void *private_data); -- 2.47.2