summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-02-20 19:14:55 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-02-20 19:14:55 +0000
commit7859c7df44bb6934bec06d8095c49f2f85c7b9eb (patch)
treeaeeef42afd2d00b09d0ac8a1900f0def6f6b85db /source3/lib
parent896e133c3cf3ce9e012fbc4dbc7d2a1a5aa826cc (diff)
downloadsamba-7859c7df44bb6934bec06d8095c49f2f85c7b9eb.tar.gz
samba-7859c7df44bb6934bec06d8095c49f2f85c7b9eb.tar.bz2
samba-7859c7df44bb6934bec06d8095c49f2f85c7b9eb.zip
Merge in smb_load_module() function from HEAD
(This used to be commit 6cb124247d10de86bdf6a98f3dd703b3a9eb1d35)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/module.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/source3/lib/module.c b/source3/lib/module.c
index 6febe8a9f1..2498f6de2c 100644
--- a/source3/lib/module.c
+++ b/source3/lib/module.c
@@ -57,24 +57,6 @@ NTSTATUS smb_load_module(const char *module_name)
return nt_status;
}
-/* Load all modules in list and return number of
- * modules that has been successfully loaded */
-int smb_load_modules(const char **modules)
-{
- int i;
- int success = 0;
-
- for(i = 0; modules[i]; i++){
- if(NT_STATUS_IS_OK(smb_load_module(modules[i]))) {
- success++;
- }
- }
-
- DEBUG(2, ("%d modules successfully loaded\n", success));
-
- return success;
-}
-
#else /* HAVE_DLOPEN */
NTSTATUS smb_load_module(const char *module_name)
@@ -83,10 +65,4 @@ NTSTATUS smb_load_module(const char *module_name)
return NT_STATUS_NOT_SUPPORTED;
}
-int smb_load_modules(const char **modules)
-{
- DEBUG(0,("This samba executable has not been build with plugin support"));
- return -1;
-}
-
#endif /* HAVE_DLOPEN */