summaryrefslogtreecommitdiff
path: root/lib/util/samba_modules.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-03 13:22:41 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-03 14:25:12 +1000
commit4d53e7c2ba59d4572a6198785e49eeaf88cd1a02 (patch)
treeb58ba928ed5c73ac5c0e408e5997d50080853092 /lib/util/samba_modules.h
parentc7a3b8ae21523f6af2c3e3fea1a0d3fcf9706d4c (diff)
downloadsamba-4d53e7c2ba59d4572a6198785e49eeaf88cd1a02.tar.gz
samba-4d53e7c2ba59d4572a6198785e49eeaf88cd1a02.tar.bz2
samba-4d53e7c2ba59d4572a6198785e49eeaf88cd1a02.zip
lib/util: Add smb_load_module that returns DEBUG(0) errors on failure
These errors are very important when trying to work out why a module does not load, and this rework allows them to be shown when loading vfs modules. Andrew Bartlett
Diffstat (limited to 'lib/util/samba_modules.h')
-rw-r--r--lib/util/samba_modules.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/samba_modules.h b/lib/util/samba_modules.h
index 5eb2a0dd1c..2f40811929 100644
--- a/lib/util/samba_modules.h
+++ b/lib/util/samba_modules.h
@@ -55,5 +55,6 @@ 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);
+NTSTATUS smb_load_module(const char *subsystem, const char *module);
#endif /* _SAMBA_MODULES_H */