mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
lib:util: Rename smb_load_modules()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12780 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
700914b45d
commit
da9de19cf9
@ -237,7 +237,7 @@ static NTSTATUS do_smb_load_module(const char *subsystem,
|
||||
|
||||
/* Load all modules in list and return number of
|
||||
* modules that has been successfully loaded */
|
||||
int smb_load_modules(const char **modules)
|
||||
int smb_load_all_modules_absoute_path(const char **modules)
|
||||
{
|
||||
int i;
|
||||
int success = 0;
|
||||
|
@ -53,7 +53,7 @@ bool run_init_functions(TALLOC_CTX *ctx, init_module_fn *fns);
|
||||
*/
|
||||
init_module_fn *load_samba_modules(TALLOC_CTX *mem_ctx, const char *subsystem);
|
||||
|
||||
int smb_load_modules(const char **modules);
|
||||
int smb_load_all_modules_absoute_path(const char **modules);
|
||||
NTSTATUS smb_probe_module(const char *subsystem, const char *module);
|
||||
NTSTATUS smb_load_module(const char *subsystem, const char *module);
|
||||
|
||||
|
@ -4018,7 +4018,7 @@ void smbd_process(struct tevent_context *ev_ctx,
|
||||
locaddr);
|
||||
|
||||
if (lp_preload_modules()) {
|
||||
smb_load_modules(lp_preload_modules());
|
||||
smb_load_all_modules_absoute_path(lp_preload_modules());
|
||||
}
|
||||
|
||||
smb_perfcount_init();
|
||||
|
Loading…
x
Reference in New Issue
Block a user