s4-dsdb: convert the rest of the ldb modules to the new module type
[samba.git] / source4 / dsdb / samdb / ldb_modules / extended_dn_store.c
index 73389440f52534c89cbb5156cbe102e7a2e647b5..471020dc89bb61336695033631900a263881d642 100644 (file)
@@ -448,8 +448,13 @@ static int extended_dn_modify(struct ldb_module *module, struct ldb_request *req
        return ldb_next_request(module, ac->ops->search_req);
 }
 
-_PUBLIC_ const struct ldb_module_ops ldb_extended_dn_store_module_ops = {
+static const struct ldb_module_ops ldb_extended_dn_store_module_ops = {
        .name              = "extended_dn_store",
        .add               = extended_dn_add,
        .modify            = extended_dn_modify,
 };
+
+int ldb_extended_dn_store_module_init(const char *version)
+{
+       return ldb_register_module(&ldb_extended_dn_store_module_ops);
+}