diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-06-19 13:46:39 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-19 13:46:39 +0200 |
commit | 238e89f7b0c3f35578105329578685a187209f83 (patch) | |
tree | 015cbb457c13470c4c0747f337813c5fbd5ba763 /source4/dsdb/samdb | |
parent | f36a9afc2f62827700e4b8b441448aef00439f7d (diff) | |
download | samba-238e89f7b0c3f35578105329578685a187209f83.tar.gz samba-238e89f7b0c3f35578105329578685a187209f83.tar.bz2 samba-238e89f7b0c3f35578105329578685a187209f83.zip |
dsdb: Make module ops struct for each module public.
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/descriptor.c | 2 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/operational.c | 2 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/ranged_results.c | 2 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samba_dsdb.c | 2 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samba_secrets.c | 2 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/subtree_delete.c | 2 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/subtree_rename.c | 2 |
7 files changed, 6 insertions, 8 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/descriptor.c b/source4/dsdb/samdb/ldb_modules/descriptor.c index ba60682f71..0e9558278d 100644 --- a/source4/dsdb/samdb/ldb_modules/descriptor.c +++ b/source4/dsdb/samdb/ldb_modules/descriptor.c @@ -898,5 +898,3 @@ _PUBLIC_ const struct ldb_module_ops ldb_descriptor_module_ops = { .rename = descriptor_rename, .init_context = descriptor_init }; - - diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c index a4cf49db3a..e967f8a5eb 100644 --- a/source4/dsdb/samdb/ldb_modules/operational.c +++ b/source4/dsdb/samdb/ldb_modules/operational.c @@ -806,7 +806,7 @@ static int operational_init(struct ldb_module *ctx) return LDB_SUCCESS; } -const struct ldb_module_ops ldb_operational_module_ops = { +_PUBLIC_ const struct ldb_module_ops ldb_operational_module_ops = { .name = "operational", .search = operational_search, .init_context = operational_init diff --git a/source4/dsdb/samdb/ldb_modules/ranged_results.c b/source4/dsdb/samdb/ldb_modules/ranged_results.c index 7639aef5c0..0c992e0e12 100644 --- a/source4/dsdb/samdb/ldb_modules/ranged_results.c +++ b/source4/dsdb/samdb/ldb_modules/ranged_results.c @@ -246,7 +246,7 @@ static int rr_search(struct ldb_module *module, struct ldb_request *req) return ldb_next_request(module, req); } -const struct ldb_module_ops ldb_ranged_results_module_ops = { +_PUBLIC_ const struct ldb_module_ops ldb_ranged_results_module_ops = { .name = "ranged_results", .search = rr_search, }; diff --git a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c index 137de73c6a..b12d25a720 100644 --- a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c +++ b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c @@ -354,7 +354,7 @@ static int samba_dsdb_init(struct ldb_module *module) return ldb_next_init(module); } -const struct ldb_module_ops ldb_samba_dsdb_module_ops = { +_PUBLIC_ const struct ldb_module_ops ldb_samba_dsdb_module_ops = { .name = "samba_dsdb", .init_context = samba_dsdb_init, }; diff --git a/source4/dsdb/samdb/ldb_modules/samba_secrets.c b/source4/dsdb/samdb/ldb_modules/samba_secrets.c index 1045bb9102..dbf4d11f76 100644 --- a/source4/dsdb/samdb/ldb_modules/samba_secrets.c +++ b/source4/dsdb/samdb/ldb_modules/samba_secrets.c @@ -94,7 +94,7 @@ static int samba_secrets_init(struct ldb_module *module) return ldb_next_init(module); } -const struct ldb_module_ops ldb_samba_secrets_module_ops = { +_PUBLIC_ const struct ldb_module_ops ldb_samba_secrets_module_ops = { .name = "samba_secrets", .init_context = samba_secrets_init, }; diff --git a/source4/dsdb/samdb/ldb_modules/subtree_delete.c b/source4/dsdb/samdb/ldb_modules/subtree_delete.c index 9ed44bebfe..e0bbaf4c07 100644 --- a/source4/dsdb/samdb/ldb_modules/subtree_delete.c +++ b/source4/dsdb/samdb/ldb_modules/subtree_delete.c @@ -67,7 +67,7 @@ static int subtree_delete(struct ldb_module *module, struct ldb_request *req) return ldb_next_request(module, req); } -const struct ldb_module_ops ldb_subtree_delete_module_ops = { +_PUBLIC_ const struct ldb_module_ops ldb_subtree_delete_module_ops = { .name = "subtree_delete", .del = subtree_delete, }; diff --git a/source4/dsdb/samdb/ldb_modules/subtree_rename.c b/source4/dsdb/samdb/ldb_modules/subtree_rename.c index df211e58b6..24deaa4c68 100644 --- a/source4/dsdb/samdb/ldb_modules/subtree_rename.c +++ b/source4/dsdb/samdb/ldb_modules/subtree_rename.c @@ -266,7 +266,7 @@ static int subtree_rename(struct ldb_module *module, struct ldb_request *req) return ldb_next_request(module, search_req); } -const struct ldb_module_ops ldb_subtree_rename_module_ops = { +_PUBLIC_ const struct ldb_module_ops ldb_subtree_rename_module_ops = { .name = "subtree_rename", .rename = subtree_rename, }; |