summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-24 19:01:16 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-28 13:10:28 +0200
commitce0ccc2a2ea820cd5d30ffd082d898fcb57431e6 (patch)
treefc366d2f1e190d0698960d9c1a176fa8e040f136 /source4
parent1935b7b6c223542c1807e275c44e6ba4b2e90b68 (diff)
downloadsamba-ce0ccc2a2ea820cd5d30ffd082d898fcb57431e6.tar.gz
samba-ce0ccc2a2ea820cd5d30ffd082d898fcb57431e6.tar.bz2
samba-ce0ccc2a2ea820cd5d30ffd082d898fcb57431e6.zip
lib/util Rename run_init_functions -> samba_init_module_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.c2
-rw-r--r--source4/ntptr/ntptr_base.c4
-rw-r--r--source4/ntvfs/ntvfs_base.c4
-rw-r--r--source4/ntvfs/posix/pvfs_acl.c4
-rw-r--r--source4/ntvfs/sysdep/sys_lease.c2
-rw-r--r--source4/ntvfs/sysdep/sys_notify.c2
-rw-r--r--source4/param/share.c2
-rw-r--r--source4/rpc_server/dcerpc_server.c4
-rw-r--r--source4/smbd/process_model.c4
-rw-r--r--source4/smbd/server.c4
-rw-r--r--source4/torture/torture.c4
11 files changed, 18 insertions, 18 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c
index 2d51833bd9..870f8a9ba3 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;
- run_init_functions(static_init);
+ samba_init_module_fns_run(static_init);
return NT_STATUS_OK;
}
diff --git a/source4/ntptr/ntptr_base.c b/source4/ntptr/ntptr_base.c
index ce335c69b0..9795d1525f 100644
--- a/source4/ntptr/ntptr_base.c
+++ b/source4/ntptr/ntptr_base.c
@@ -76,8 +76,8 @@ NTSTATUS ntptr_init(void)
samba_init_module_fn static_init[] = { STATIC_ntptr_MODULES };
samba_init_module_fn *shared_init = load_samba_modules(NULL, "ntptr");
- run_init_functions(static_init);
- run_init_functions(shared_init);
+ samba_init_module_fns_run(static_init);
+ samba_init_module_fns_run(shared_init);
talloc_free(shared_init);
diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c
index 6f0be54c29..034536d694 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 = load_samba_modules(NULL, "ntvfs");
- run_init_functions(static_init);
- run_init_functions(shared_init);
+ samba_init_module_fns_run(static_init);
+ samba_init_module_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 57bae0a027..3f9626ed8a 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 = load_samba_modules(NULL, "pvfs_acl");
- run_init_functions(static_init);
- run_init_functions(shared_init);
+ samba_init_module_fns_run(static_init);
+ samba_init_module_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 22fc3147b0..35d99c1938 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;
- run_init_functions(static_init);
+ samba_init_module_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 43f11a20ee..660e87f51a 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;
- run_init_functions(static_init);
+ samba_init_module_fns_run(static_init);
return NT_STATUS_OK;
}
diff --git a/source4/param/share.c b/source4/param/share.c
index 9e58bb73cc..bdd12df2aa 100644
--- a/source4/param/share.c
+++ b/source4/param/share.c
@@ -151,7 +151,7 @@ NTSTATUS share_init(void)
STATIC_share_MODULES_PROTO;
samba_init_module_fn static_init[] = { STATIC_share_MODULES };
- run_init_functions(static_init);
+ samba_init_module_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 f2fe13dd9b..6422f8fffc 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 = load_samba_modules(NULL, "dcerpc_server");
- run_init_functions(static_init);
- run_init_functions(shared_init);
+ samba_init_module_fns_run(static_init);
+ samba_init_module_fns_run(shared_init);
talloc_free(shared_init);
}
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c
index 8080787a12..e9e8ffa854 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 = load_samba_modules(NULL, "process_model");
- run_init_functions(static_init);
- run_init_functions(shared_init);
+ samba_init_module_fns_run(static_init);
+ samba_init_module_fns_run(shared_init);
talloc_free(shared_init);
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index c6b9900c0e..67d11ee35c 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 = load_samba_modules(NULL, "service");
- run_init_functions(static_init);
- run_init_functions(shared_init);
+ samba_init_module_fns_run(static_init);
+ samba_init_module_fns_run(shared_init);
talloc_free(shared_init);
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 155a346956..73208f8256 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -51,8 +51,8 @@ _PUBLIC_ int torture_init(void)
samba_init_module_fn static_init[] = { STATIC_smbtorture_MODULES };
samba_init_module_fn *shared_init = load_samba_modules(NULL, "smbtorture");
- run_init_functions(static_init);
- run_init_functions(shared_init);
+ samba_init_module_fns_run(static_init);
+ samba_init_module_fns_run(shared_init);
talloc_free(shared_init);