summaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/util/samba_module.c2
-rw-r--r--lib/util/samba_module.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/samba_module.c b/lib/util/samba_module.c
index 6dc42eaf08..b15885be03 100644
--- a/lib/util/samba_module.c
+++ b/lib/util/samba_module.c
@@ -49,7 +49,7 @@ bool samba_module_init_fns_run(samba_module_init_fn *fns)
* Will return an array of function pointers to initialization functions
*/
-samba_module_init_fn *samba_modules_load(TALLOC_CTX *mem_ctx, const char *subsystem)
+samba_module_init_fn *samba_module_init_fns_for_subsystem(TALLOC_CTX *mem_ctx, const char *subsystem)
{
char *path = modules_path(mem_ctx, subsystem);
samba_module_init_fn *ret;
diff --git a/lib/util/samba_module.h b/lib/util/samba_module.h
index 6d32fce48e..fa9a6b905d 100644
--- a/lib/util/samba_module.h
+++ b/lib/util/samba_module.h
@@ -44,6 +44,6 @@ bool samba_module_init_fns_run(samba_module_init_fn *fns);
*
* Will return an array of function pointers to initialization functions
*/
-samba_module_init_fn *samba_modules_load(TALLOC_CTX *mem_ctx, const char *subsystem);
+samba_module_init_fn *samba_module_init_fns_for_subsystem(TALLOC_CTX *mem_ctx, const char *subsystem);
#endif /* _SAMBA_MODULES_H */