diff options
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/subtree_delete.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/subtree_delete.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/subtree_delete.c b/source4/dsdb/samdb/ldb_modules/subtree_delete.c index 91d22c984e..aa03ab26b6 100644 --- a/source4/dsdb/samdb/ldb_modules/subtree_delete.c +++ b/source4/dsdb/samdb/ldb_modules/subtree_delete.c @@ -110,8 +110,13 @@ static int subtree_delete_init(struct ldb_module *module) return ldb_next_init(module); } -_PUBLIC_ const struct ldb_module_ops ldb_subtree_delete_module_ops = { +static const struct ldb_module_ops ldb_subtree_delete_module_ops = { .name = "subtree_delete", .init_context = subtree_delete_init, .del = subtree_delete }; + +int ldb_subtree_delete_module_init(const char *version) +{ + return ldb_register_module(&ldb_subtree_delete_module_ops); +} |