summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-01 15:28:02 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-01 18:55:19 +1100
commit7eb2eed156c8358b5a857444651841a17651229c (patch)
treee5ce92abe829e5d016a46168c5e220b0fa7820ad /source4/nbt_server/wins
parent43f7c9ca26f72141c87babe428e46e9a293c4b9c (diff)
downloadsamba-7eb2eed156c8358b5a857444651841a17651229c.tar.gz
samba-7eb2eed156c8358b5a857444651841a17651229c.tar.bz2
samba-7eb2eed156c8358b5a857444651841a17651229c.zip
s4-dsdb: convert the rest of the ldb modules to the new module type
Diffstat (limited to 'source4/nbt_server/wins')
-rw-r--r--source4/nbt_server/wins/wins_ldb.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/wins_ldb.c b/source4/nbt_server/wins/wins_ldb.c
index fd609b2780..a45cf2ecf1 100644
--- a/source4/nbt_server/wins/wins_ldb.c
+++ b/source4/nbt_server/wins/wins_ldb.c
@@ -113,9 +113,14 @@ failed:
return LDB_ERR_OTHER;
}
-_PUBLIC_ const struct ldb_module_ops ldb_wins_ldb_module_ops = {
+const struct ldb_module_ops ldb_wins_ldb_module_ops = {
.name = "wins_ldb",
.add = wins_ldb_verify,
.modify = wins_ldb_verify,
.init_context = wins_ldb_init
};
+
+int ldb_wins_ldb_module_init(const char *version)
+{
+ return ldb_register_module(&ldb_wins_ldb_module_ops);
+}