From: Andrew Bartlett Date: Tue, 30 May 2017 09:00:34 +0000 (+1200) Subject: ldb: Add Doxygen docs for ldb_schema_attribute_set_override_handler X-Git-Tag: ldb-1.1.30~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcd891dc3f77aa54e73a3fe23b6d1feab80a4c86;p=thirdparty%2Fsamba.git ldb: Add Doxygen docs for ldb_schema_attribute_set_override_handler 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 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);