summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-25 10:34:13 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-28 13:10:28 +0200
commit7f8f7159afbd9cfce4181eeb31a5c575c14d5f81 (patch)
tree6122ee2174d86f0c73a1342b073523deb0ec691c /source4/smbd
parentb256799eaf829fcb7d6e1d88de4478f77df8ff73 (diff)
downloadsamba-7f8f7159afbd9cfce4181eeb31a5c575c14d5f81.tar.gz
samba-7f8f7159afbd9cfce4181eeb31a5c575c14d5f81.tar.bz2
samba-7f8f7159afbd9cfce4181eeb31a5c575c14d5f81.zip
lib/util Rename samba_modules_load -> samba_module_init_fns_for_subsystem
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_model.c2
-rw-r--r--source4/smbd/server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c
index d194d19747..b3ac07e4a6 100644
--- a/source4/smbd/process_model.c
+++ b/source4/smbd/process_model.c
@@ -112,7 +112,7 @@ _PUBLIC_ NTSTATUS process_model_init(struct loadparm_context *lp_ctx)
}
initialised = true;
- shared_init = samba_modules_load(NULL, "process_model");
+ shared_init = samba_module_init_fns_for_subsystem(NULL, "process_model");
samba_module_init_fns_run(static_init);
samba_module_init_fns_run(shared_init);
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 6df55b88b6..a2f4a785ad 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -409,7 +409,7 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[
process_model_init(cmdline_lp_ctx);
- shared_init = samba_modules_load(NULL, "service");
+ shared_init = samba_module_init_fns_for_subsystem(NULL, "service");
samba_module_init_fns_run(static_init);
samba_module_init_fns_run(shared_init);