summaryrefslogtreecommitdiff
path: root/lib/util/samba_modules.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-24 09:49:26 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-28 13:10:28 +0200
commit1935b7b6c223542c1807e275c44e6ba4b2e90b68 (patch)
tree3f3c92eb3a080d3f68761f1431176e99c4046dbb /lib/util/samba_modules.h
parent7cf00e3231da1808a5ad1adf8fbc319846eacabe (diff)
downloadsamba-1935b7b6c223542c1807e275c44e6ba4b2e90b68.tar.gz
samba-1935b7b6c223542c1807e275c44e6ba4b2e90b68.tar.bz2
samba-1935b7b6c223542c1807e275c44e6ba4b2e90b68.zip
lib/util Rename init_module_fn to samba_init_module_fn
This prepares for making the samba_module.h header public again, for OpenChange. I am keen to avoid too much API namespace pollution if we can.
Diffstat (limited to 'lib/util/samba_modules.h')
-rw-r--r--lib/util/samba_modules.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/util/samba_modules.h b/lib/util/samba_modules.h
index 5eb2a0dd1c..5b912b3987 100644
--- a/lib/util/samba_modules.h
+++ b/lib/util/samba_modules.h
@@ -22,7 +22,7 @@
#define _SAMBA_MODULES_H
/* Module support */
-typedef NTSTATUS (*init_module_fn) (void);
+typedef NTSTATUS (*samba_init_module_fn) (void);
NTSTATUS samba_init_module(void);
@@ -37,21 +37,21 @@ NTSTATUS samba_init_module(void);
*
* The handle to dlclose() in case of error is returns in *handle if handle is not NULL
*/
-init_module_fn load_module(const char *path, bool is_probe, void **handle);
+samba_init_module_fn load_module(const char *path, bool is_probe, void **handle);
/**
* Run the specified init functions.
*
* @return true if all functions ran successfully, false otherwise
*/
-bool run_init_functions(init_module_fn *fns);
+bool run_init_functions(samba_init_module_fn *fns);
/**
* Load the initialization functions from DSO files for a specific subsystem.
*
* Will return an array of function pointers to initialization functions
*/
-init_module_fn *load_samba_modules(TALLOC_CTX *mem_ctx, const char *subsystem);
+samba_init_module_fn *load_samba_modules(TALLOC_CTX *mem_ctx, const char *subsystem);
int smb_load_modules(const char **modules);
NTSTATUS smb_probe_module(const char *subsystem, const char *module);