1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-06 08:59:08 +03:00

r3586: Fix some of the issues with the module init functions.

Both subsystems and modules can now have init functions, which can be
specified in .mk files (INIT_FUNCTION = ...)

The build system will define :
 - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal
 - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on

This removes the hack with the "static bool Initialised = " and the
"lazy_init" functions
(This used to be commit 7a8244761b)
This commit is contained in:
Jelmer Vernooij
2004-11-06 23:23:15 +00:00
committed by Gerald (Jerry) Carter
parent b012ab557b
commit 71db46ea66
49 changed files with 186 additions and 154 deletions

View File

@ -273,8 +273,3 @@ const struct socket_ops *socket_unixdom_ops(void)
{
return &unixdom_ops;
}
NTSTATUS socket_unixdom_init(void)
{
return NT_STATUS_OK;
}