diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-25 20:40:37 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-25 20:40:37 +0100 |
commit | b5bd6636907c76f6bb562b62abca78a7aeed83d8 (patch) | |
tree | 56f181f238716ba2b530cf3a723f6a28497bf7c6 /source4/lib/ldb/common | |
parent | a17f0ab3e0228edcd02b5f180252a54492feb6b8 (diff) | |
download | samba-b5bd6636907c76f6bb562b62abca78a7aeed83d8.tar.gz samba-b5bd6636907c76f6bb562b62abca78a7aeed83d8.tar.bz2 samba-b5bd6636907c76f6bb562b62abca78a7aeed83d8.zip |
Fix use of realpath, fix init functions for ldb.
(This used to be commit ca510136d2c4cae8f520c76df6aaadb5d412bea1)
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r-- | source4/lib/ldb/common/ldb_modules.c | 12 |
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 af837d2965..ddbe0f23a6 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -125,14 +125,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_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 |