1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-13 08:23:49 +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 commit is contained in:
Jelmer Vernooij
2004-11-06 23:23:15 +00:00
committed by Gerald (Jerry) Carter
parent 9701abfa3a
commit 7a8244761b
49 changed files with 186 additions and 154 deletions

View File

@@ -336,8 +336,3 @@ const struct socket_ops *socket_ipv4_ops(void)
{
return &ipv4_tcp_ops;
}
NTSTATUS socket_ipv4_init(void)
{
return NT_STATUS_OK;
}