summaryrefslogtreecommitdiff
path: root/ldb/common
diff options
context:
space:
mode:
Diffstat (limited to 'ldb/common')
-rw-r--r--ldb/common/ldb_modules.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ldb/common/ldb_modules.c b/ldb/common/ldb_modules.c
index 8db28d26..0fcdf937 100644
--- a/ldb/common/ldb_modules.c
+++ b/ldb/common/ldb_modules.c
@@ -486,6 +486,12 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[])
} while (0)
+
+struct ldb_context *ldb_module_get_ctx(struct ldb_module *module)
+{
+ return module->ldb;
+}
+
/*
helper functions to call the next module in chain
*/