summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-01 15:00:11 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-01 18:55:19 +1100
commit6db57658a9746df7177f1824752aa43395f1419f (patch)
treed098e8927ce54ce3784a2f1273c3a9799867600a /source4/lib/ldb/include
parentbe8e91d9cadf0886bf5ce4816dff4073d903965d (diff)
downloadsamba-6db57658a9746df7177f1824752aa43395f1419f.tar.gz
samba-6db57658a9746df7177f1824752aa43395f1419f.tar.bz2
samba-6db57658a9746df7177f1824752aa43395f1419f.zip
s4-ldb: removed the old ldb module loading style
this gets rid of some particularly obscure cpp macros for module lists
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb_module.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_module.h b/source4/lib/ldb/include/ldb_module.h
index dc6d19dee7..71c3cd8f7b 100644
--- a/source4/lib/ldb/include/ldb_module.h
+++ b/source4/lib/ldb/include/ldb_module.h
@@ -230,4 +230,7 @@ bool ldb_req_is_untrusted(struct ldb_request *req);
/* load all modules from the given directory */
int ldb_modules_load(const char *modules_path, const char *version);
+/* init functions prototype */
+typedef int (*ldb_module_init_fn)(const char *);
+
#endif