return ldb_next_request(module, req);
}
-_PUBLIC_ const struct ldb_module_ops ldb_new_partition_module_ops = {
+static const struct ldb_module_ops ldb_new_partition_module_ops = {
.name = "new_partition",
.add = new_partition_add,
};
+
+int ldb_new_partition_module_init(const char *version)
+{
+ return ldb_register_module(&ldb_new_partition_module_ops);
+}