mirror of
https://github.com/samba-team/samba.git
synced 2025-10-29 04:23:51 +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:
committed by
Gerald (Jerry) Carter
parent
9701abfa3a
commit
7a8244761b
@@ -861,6 +861,8 @@ enum {
|
||||
POPT_TABLEEND
|
||||
};
|
||||
|
||||
ntlm_auth_init_subsystems;
|
||||
|
||||
/* Samba client initialisation */
|
||||
|
||||
setup_logging("ntlm_auth", DEBUG_STDERR);
|
||||
|
||||
Reference in New Issue
Block a user