From 7eb2eed156c8358b5a857444651841a17651229c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Nov 2010 15:28:02 +1100 Subject: s4-dsdb: convert the rest of the ldb modules to the new module type --- source4/dsdb/samdb/ldb_modules/subtree_rename.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source4/dsdb/samdb/ldb_modules/subtree_rename.c') diff --git a/source4/dsdb/samdb/ldb_modules/subtree_rename.c b/source4/dsdb/samdb/ldb_modules/subtree_rename.c index f6b3625678..ce444f8378 100644 --- a/source4/dsdb/samdb/ldb_modules/subtree_rename.c +++ b/source4/dsdb/samdb/ldb_modules/subtree_rename.c @@ -444,7 +444,12 @@ static int subtree_rename(struct ldb_module *module, struct ldb_request *req) return ldb_next_request(module, search_req); } -_PUBLIC_ const struct ldb_module_ops ldb_subtree_rename_module_ops = { +static const struct ldb_module_ops ldb_subtree_rename_module_ops = { .name = "subtree_rename", .rename = subtree_rename }; + +int ldb_subtree_rename_module_init(const char *version) +{ + return ldb_register_module(&ldb_subtree_rename_module_ops); +} -- cgit