diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-01 15:28:02 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-01 18:55:19 +1100 |
commit | 7eb2eed156c8358b5a857444651841a17651229c (patch) | |
tree | e5ce92abe829e5d016a46168c5e220b0fa7820ad /source4/dsdb/samdb/ldb_modules/lazy_commit.c | |
parent | 43f7c9ca26f72141c87babe428e46e9a293c4b9c (diff) | |
download | samba-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/dsdb/samdb/ldb_modules/lazy_commit.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/lazy_commit.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/lazy_commit.c b/source4/dsdb/samdb/ldb_modules/lazy_commit.c index b46f88a575..d0efea257e 100644 --- a/source4/dsdb/samdb/ldb_modules/lazy_commit.c +++ b/source4/dsdb/samdb/ldb_modules/lazy_commit.c @@ -109,7 +109,7 @@ static int unlazy_op(struct ldb_module *module, struct ldb_request *req) return ldb_next_request(module, new_req); } -const struct ldb_module_ops ldb_lazy_commit_module_ops = { +static const struct ldb_module_ops ldb_lazy_commit_module_ops = { .name = "lazy_commit", .search = unlazy_op, .add = unlazy_op, @@ -119,3 +119,8 @@ const struct ldb_module_ops ldb_lazy_commit_module_ops = { .request = unlazy_op, .extended = unlazy_op, }; + +int ldb_lazy_commit_module_init(const char *version) +{ + return ldb_register_module(&ldb_lazy_commit_module_ops); +} |