From 26af14c39b88b0e7eb53657b89be65d865804688 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 2 Mar 2006 16:32:53 +0000 Subject: r13786: [merge] Add registration functions for LDB modules Applications that use LDB modules will now have to run ldb_global_init() before they can use LDB. The next step will be adding support for loading LDB modules from .so files. This will also allow us to use one LDB without difference between the standalone and the Samba-specific build (This used to be commit 52a235650514039bf8ffee99a784bbc1b6ae6b92) --- source4/lib/ldb/common/ldb.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source4/lib/ldb/common/ldb.c') diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c index 87705a855a..28bed0b0ea 100644 --- a/source4/lib/ldb/common/ldb.c +++ b/source4/lib/ldb/common/ldb.c @@ -128,19 +128,6 @@ void ldb_reset_err_string(struct ldb_context *ldb) if (module == NULL) return -1; \ } while (0) -/* - second stage init all modules loaded -*/ -int ldb_second_stage_init(struct ldb_context *ldb) -{ - struct ldb_module *module; - - FIRST_OP(ldb, second_stage_init); - - return module->ops->second_stage_init(module); -} - - /* start a transaction */ -- cgit