mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user