1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-14 20:23:54 +03:00

r12743: Remove the ugly way we had to make a second stage init and introduce

a second_stage_init private function for modules that need a second stage init.

Simo.
(This used to be commit 5e8b365fa2)
This commit is contained in:
Simo Sorce
2006-01-06 16:12:45 +00:00
committed by Gerald (Jerry) Carter
parent 8f4dc51345
commit dbef4d76de
21 changed files with 142 additions and 115 deletions

View File

@@ -514,12 +514,18 @@ static int lldb_request(struct ldb_module *module, struct ldb_request *req)
}
}
static int lldb_init_2(struct ldb_module *module)
{
return LDB_SUCCESS;
}
static const struct ldb_module_ops lldb_ops = {
.name = "ldap",
.request = lldb_request,
.start_transaction = lldb_start_trans,
.end_transaction = lldb_end_trans,
.del_transaction = lldb_del_trans
.del_transaction = lldb_del_trans,
.second_stage_init = lldb_init_2
};