diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-01 14:59:28 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-01 18:55:19 +1100 |
commit | be8e91d9cadf0886bf5ce4816dff4073d903965d (patch) | |
tree | aafdcf858e1194a995e74338239b06a1ce6232aa /source4/lib/ldb/modules/paged_searches.c | |
parent | b887b69151808455ae19ce2e690f6fe336c44bb9 (diff) | |
download | samba-be8e91d9cadf0886bf5ce4816dff4073d903965d.tar.gz samba-be8e91d9cadf0886bf5ce4816dff4073d903965d.tar.bz2 samba-be8e91d9cadf0886bf5ce4816dff4073d903965d.zip |
s4-ldb: convert the rest of the ldb modules to the new style
Diffstat (limited to 'source4/lib/ldb/modules/paged_searches.c')
-rw-r--r-- | source4/lib/ldb/modules/paged_searches.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/lib/ldb/modules/paged_searches.c b/source4/lib/ldb/modules/paged_searches.c index bd2ea0942e..becab83bcf 100644 --- a/source4/lib/ldb/modules/paged_searches.c +++ b/source4/lib/ldb/modules/paged_searches.c @@ -371,8 +371,13 @@ static int ps_init(struct ldb_module *module) return ldb_next_init(module); } -_PUBLIC_ const struct ldb_module_ops ldb_paged_searches_module_ops = { +static const struct ldb_module_ops ldb_paged_searches_module_ops = { .name = "paged_searches", .search = ps_search, .init_context = ps_init }; + +int ldb_paged_searches_init(const char *version) +{ + return ldb_register_module(&ldb_paged_searches_module_ops); +} |