From e1ffcfc7832768429e2f84ae048476ac0ff8dbba Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 21 Dec 2009 21:03:11 +1100 Subject: s4-ldb: added ldb_module_get_ops() This is needed to support DSDB_FLAG_OWN_MODULE Pair-Programmed-With: Andrew Bartlett --- source4/lib/ldb/common/ldb_modules.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/lib/ldb/common/ldb_modules.c') diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c index e79f072d50..e49d46a987 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -527,6 +527,11 @@ struct ldb_context *ldb_module_get_ctx(struct ldb_module *module) return module->ldb; } +const struct ldb_module_ops *ldb_module_get_ops(struct ldb_module *module) +{ + return module->ops; +} + void *ldb_module_get_private(struct ldb_module *module) { return module->private_data; -- cgit