From 6db57658a9746df7177f1824752aa43395f1419f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Nov 2010 15:00:11 +1100 Subject: s4-ldb: removed the old ldb module loading style this gets rid of some particularly obscure cpp macros for module lists --- source4/lib/ldb/include/ldb_module.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/lib/ldb/include') 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 -- cgit