summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-14 13:49:47 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-14 13:49:47 +0200
commita96bba21fa99d7057f001bfc159930052d83d974 (patch)
tree3d00eba12b29f6ff939110bccf26021c78334fee /source4/lib/ldb/common
parentca78fa8cae96099055a6ae7a0963c2b2789f2b87 (diff)
parent7cf29ac84e2f45dfc56d5e46678a96527a38a1c1 (diff)
downloadsamba-a96bba21fa99d7057f001bfc159930052d83d974.tar.gz
samba-a96bba21fa99d7057f001bfc159930052d83d974.tar.bz2
samba-a96bba21fa99d7057f001bfc159930052d83d974.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 92751a73cd854365d365db854179bfd5aeabe7a2)
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r--source4/lib/ldb/common/ldb_modules.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c
index 34e0afbf93..eece9af5f7 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/source4/lib/ldb/common/ldb_modules.c
@@ -126,14 +126,16 @@ static struct ops_list_entry {
struct ops_list_entry *next;
} *registered_modules = NULL;
+#define LDB_MODULE(name) (&ldb_ ## name ## _module_ops)
+
#ifndef STATIC_LIBLDB_MODULES
#define STATIC_LIBLDB_MODULES \
- &ldb_operational_module_ops, \
- &ldb_rdn_name_module_ops, \
- &ldb_paged_results_module_ops, \
- &ldb_server_sort_module_ops, \
- &ldb_asq_module_ops, \
+ LDB_MODULE(operational), \
+ LDB_MODULE(rdn_name), \
+ LDB_MODULE(paged_results), \
+ LDB_MODULE(server_sort), \
+ LDB_MODULE(asq), \
NULL
#endif