diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-10-25 10:11:06 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-10-28 13:10:28 +0200 |
commit | 0ce09fcf7ae971a2dc4131fd137c925f0b9a57a4 (patch) | |
tree | a6bb8e729768a77f33150943e1af8745c218f838 /source4 | |
parent | 1b7cc4ac7c793d4c1829d842c84273ef2d081fdb (diff) | |
download | samba-0ce09fcf7ae971a2dc4131fd137c925f0b9a57a4.tar.gz samba-0ce09fcf7ae971a2dc4131fd137c925f0b9a57a4.tar.bz2 samba-0ce09fcf7ae971a2dc4131fd137c925f0b9a57a4.zip |
lib/util Rename samba_init_module_fns_run -> samba_module_init_fns_run
This is to provide a cleaner namespace in the public samba plugin
functions.
Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/ntlm/auth.c | 2 | ||||
-rw-r--r-- | source4/ntptr/ntptr_base.c | 4 | ||||
-rw-r--r-- | source4/ntvfs/ntvfs_base.c | 4 | ||||
-rw-r--r-- | source4/ntvfs/posix/pvfs_acl.c | 4 | ||||
-rw-r--r-- | source4/ntvfs/sysdep/sys_lease.c | 2 | ||||
-rw-r--r-- | source4/ntvfs/sysdep/sys_notify.c | 2 | ||||
-rw-r--r-- | source4/param/share.c | 2 | ||||
-rw-r--r-- | source4/rpc_server/dcerpc_server.c | 4 | ||||
-rw-r--r-- | source4/smbd/process_model.c | 4 | ||||
-rw-r--r-- | source4/smbd/server.c | 4 | ||||
-rw-r--r-- | source4/torture/torture.c | 4 |
11 files changed, 18 insertions, 18 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c index f2f9f26eeb..65abeae50b 100644 --- a/source4/auth/ntlm/auth.c +++ b/source4/auth/ntlm/auth.c @@ -665,7 +665,7 @@ _PUBLIC_ NTSTATUS auth4_init(void) if (initialized) return NT_STATUS_OK; initialized = true; - samba_init_module_fns_run(static_init); + samba_module_init_fns_run(static_init); return NT_STATUS_OK; } diff --git a/source4/ntptr/ntptr_base.c b/source4/ntptr/ntptr_base.c index b452fd8015..04114e9af5 100644 --- a/source4/ntptr/ntptr_base.c +++ b/source4/ntptr/ntptr_base.c @@ -76,8 +76,8 @@ NTSTATUS ntptr_init(void) samba_module_init_fn static_init[] = { STATIC_ntptr_MODULES }; samba_module_init_fn *shared_init = samba_modules_load(NULL, "ntptr"); - samba_init_module_fns_run(static_init); - samba_init_module_fns_run(shared_init); + samba_module_init_fns_run(static_init); + samba_module_init_fns_run(shared_init); talloc_free(shared_init); diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c index efa1968de8..f34ea7b7dd 100644 --- a/source4/ntvfs/ntvfs_base.c +++ b/source4/ntvfs/ntvfs_base.c @@ -238,8 +238,8 @@ NTSTATUS ntvfs_init(struct loadparm_context *lp_ctx) shared_init = samba_modules_load(NULL, "ntvfs"); - samba_init_module_fns_run(static_init); - samba_init_module_fns_run(shared_init); + samba_module_init_fns_run(static_init); + samba_module_init_fns_run(shared_init); talloc_free(shared_init); diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c index 2372b440fd..546a8fc01a 100644 --- a/source4/ntvfs/posix/pvfs_acl.c +++ b/source4/ntvfs/posix/pvfs_acl.c @@ -95,8 +95,8 @@ NTSTATUS pvfs_acl_init(void) shared_init = samba_modules_load(NULL, "pvfs_acl"); - samba_init_module_fns_run(static_init); - samba_init_module_fns_run(shared_init); + samba_module_init_fns_run(static_init); + samba_module_init_fns_run(shared_init); talloc_free(shared_init); diff --git a/source4/ntvfs/sysdep/sys_lease.c b/source4/ntvfs/sysdep/sys_lease.c index 5e8a70fdad..9098610468 100644 --- a/source4/ntvfs/sysdep/sys_lease.c +++ b/source4/ntvfs/sysdep/sys_lease.c @@ -118,7 +118,7 @@ _PUBLIC_ NTSTATUS sys_lease_init(void) if (initialized) return NT_STATUS_OK; initialized = true; - samba_init_module_fns_run(static_init); + samba_module_init_fns_run(static_init); return NT_STATUS_OK; } diff --git a/source4/ntvfs/sysdep/sys_notify.c b/source4/ntvfs/sysdep/sys_notify.c index dd143d36b4..76dab63da4 100644 --- a/source4/ntvfs/sysdep/sys_notify.c +++ b/source4/ntvfs/sysdep/sys_notify.c @@ -142,7 +142,7 @@ _PUBLIC_ NTSTATUS sys_notify_init(void) if (initialized) return NT_STATUS_OK; initialized = true; - samba_init_module_fns_run(static_init); + samba_module_init_fns_run(static_init); return NT_STATUS_OK; } diff --git a/source4/param/share.c b/source4/param/share.c index 5204e83fb4..4d2b5d3ba6 100644 --- a/source4/param/share.c +++ b/source4/param/share.c @@ -151,7 +151,7 @@ NTSTATUS share_init(void) STATIC_share_MODULES_PROTO; samba_module_init_fn static_init[] = { STATIC_share_MODULES }; - samba_init_module_fns_run(static_init); + samba_module_init_fns_run(static_init); return NT_STATUS_OK; } diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c index 53eafe0723..1eb2694de2 100644 --- a/source4/rpc_server/dcerpc_server.c +++ b/source4/rpc_server/dcerpc_server.c @@ -1238,8 +1238,8 @@ void dcerpc_server_init(struct loadparm_context *lp_ctx) shared_init = samba_modules_load(NULL, "dcerpc_server"); - samba_init_module_fns_run(static_init); - samba_init_module_fns_run(shared_init); + samba_module_init_fns_run(static_init); + samba_module_init_fns_run(shared_init); talloc_free(shared_init); } diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c index e43e9146d8..d194d19747 100644 --- a/source4/smbd/process_model.c +++ b/source4/smbd/process_model.c @@ -114,8 +114,8 @@ _PUBLIC_ NTSTATUS process_model_init(struct loadparm_context *lp_ctx) shared_init = samba_modules_load(NULL, "process_model"); - samba_init_module_fns_run(static_init); - samba_init_module_fns_run(shared_init); + samba_module_init_fns_run(static_init); + samba_module_init_fns_run(shared_init); talloc_free(shared_init); diff --git a/source4/smbd/server.c b/source4/smbd/server.c index abc662de79..6df55b88b6 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -411,8 +411,8 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[ shared_init = samba_modules_load(NULL, "service"); - samba_init_module_fns_run(static_init); - samba_init_module_fns_run(shared_init); + samba_module_init_fns_run(static_init); + samba_module_init_fns_run(shared_init); talloc_free(shared_init); diff --git a/source4/torture/torture.c b/source4/torture/torture.c index fafc79a36f..d00351de32 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -51,8 +51,8 @@ _PUBLIC_ int torture_init(void) samba_module_init_fn static_init[] = { STATIC_smbtorture_MODULES }; samba_module_init_fn *shared_init = samba_modules_load(NULL, "smbtorture"); - samba_init_module_fns_run(static_init); - samba_init_module_fns_run(shared_init); + samba_module_init_fns_run(static_init); + samba_module_init_fns_run(shared_init); talloc_free(shared_init); |