Jelmer Vernooij
c7a6388e7e
Check for absolute paths by only checking the first character of the module name.
...
Don't use strchr_m, which caused race conditions.
(This used to be commit 69ec6be90f
)
2003-04-24 19:47:37 +00:00
Jelmer Vernooij
7fcbdf00f6
Add some more functions for the modules (backport from HEAD):
...
- init_modules()
- smb_probe_module()
(This used to be commit b3328dab2f
)
2003-04-14 22:23:02 +00:00
Jelmer Vernooij
7859c7df44
Merge in smb_load_module() function from HEAD
...
(This used to be commit 6cb124247d
)
2003-02-20 19:14:55 +00:00
Jim McDonough
1793c8f143
dlsym() can return NULL validly, so we can't use that as the error test.
...
dlerror() is the correct way to test.
(This used to be commit 41b1be15ba
)
2003-01-17 21:23:14 +00:00
Jelmer Vernooij
5988d5e92a
Add a DEBUG() that gives the number of successfully loaded modules - useful for debugging
...
(This used to be commit 612ea35ab0
)
2002-11-13 13:47:12 +00:00
Jelmer Vernooij
fb6c6ec09e
add smb_load_modules() to load a list of modules - does this function look ok ?
...
(This used to be commit a82dbb3c22
)
2002-10-31 18:08:45 +00:00
Jelmer Vernooij
9dcba81933
use sys_dlopen instead of dlopen (thanks to jra for noticing)
...
(This used to be commit 86eb0a25b1
)
2002-10-30 17:50:36 +00:00
Jelmer Vernooij
04d21551e1
- Remove RTLD_GLOBAL
...
- make smb_load_module() return the return value of init_module()
(This used to be commit a8d2dd8d00
)
2002-10-30 12:07:49 +00:00
Jelmer Vernooij
1f40ad5813
Add initial vesion of new module system
...
(This used to be commit b5d05d3ec6
)
2002-10-30 11:52:36 +00:00