diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-09-09 22:41:28 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-10-06 08:52:30 +0200 |
commit | f6b7bd4a01205e442d3aa06d8edc3634a12945b2 (patch) | |
tree | 3bea8e1a4071f2bfd667012c646484307fd417ae /lib/util/samba_modules.h | |
parent | 355b5e3a831415d9bef97de4b2d83e353de4ab0f (diff) | |
download | samba-f6b7bd4a01205e442d3aa06d8edc3634a12945b2.tar.gz samba-f6b7bd4a01205e442d3aa06d8edc3634a12945b2.tar.xz samba-f6b7bd4a01205e442d3aa06d8edc3634a12945b2.zip |
lib/util: consolidate module loading
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Oct 6 08:52:30 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib/util/samba_modules.h')
-rw-r--r-- | lib/util/samba_modules.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/util/samba_modules.h b/lib/util/samba_modules.h index ae7895eb124..5eb2a0dd1cf 100644 --- a/lib/util/samba_modules.h +++ b/lib/util/samba_modules.h @@ -33,9 +33,11 @@ NTSTATUS samba_init_module(void); #define SAMBA_INIT_MODULE "samba_init_module" /** - * Obtain the init function from a shared library file + * Obtain the init function from a shared library file. + * + * The handle to dlclose() in case of error is returns in *handle if handle is not NULL */ -init_module_fn load_module(TALLOC_CTX *mem_ctx, const char *path); +init_module_fn load_module(const char *path, bool is_probe, void **handle); /** * Run the specified init functions. |