lib/util Rename samba_init_module_fns_run -> samba_module_init_fns_run
authorAndrew Bartlett <abartlet@samba.org>
Mon, 24 Oct 2011 23:11:06 +0000 (10:11 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 28 Oct 2011 11:10:28 +0000 (13:10 +0200)
This is to provide a cleaner namespace in the public samba plugin
functions.

Andrew Bartlett

13 files changed:
auth/gensec/gensec_start.c
lib/util/samba_module.c
source4/auth/ntlm/auth.c
source4/ntptr/ntptr_base.c
source4/ntvfs/ntvfs_base.c
source4/ntvfs/posix/pvfs_acl.c
source4/ntvfs/sysdep/sys_lease.c
source4/ntvfs/sysdep/sys_notify.c
source4/param/share.c
source4/rpc_server/dcerpc_server.c
source4/smbd/process_model.c
source4/smbd/server.c
source4/torture/torture.c

index 7814133..def4af3 100644 (file)
@@ -889,8 +889,8 @@ _PUBLIC_ NTSTATUS gensec_init(void)
 
        shared_init = samba_modules_load(NULL, "gensec");
 
-       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);
 
index fd3da75..6dc42ea 100644 (file)
@@ -30,7 +30,7 @@
  *
  * @return true if all functions ran successfully, false otherwise
  */
-bool samba_init_module_fns_run(samba_module_init_fn *fns)
+bool samba_module_init_fns_run(samba_module_init_fn *fns)
 {
        int i;
        bool ret = true;
index f2f9f26..65abeae 100644 (file)
@@ -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;    
 }
index b452fd8..04114e9 100644 (file)
@@ -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);
        
index efa1968..f34ea7b 100644 (file)
@@ -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);
 
index 2372b44..546a8fc 100644 (file)
@@ -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);
 
index 5e8a70f..9098610 100644 (file)
@@ -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;
 }
index dd143d3..76dab63 100644 (file)
@@ -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;
 }
index 5204e83..4d2b5d3 100644 (file)
@@ -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;
 }
index 53eafe0..1eb2694 100644 (file)
@@ -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);
 }
index e43e914..d194d19 100644 (file)
@@ -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);
 
index abc662d..6df55b8 100644 (file)
@@ -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);
        
index fafc79a..d00351d 100644 (file)
@@ -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);