summaryrefslogtreecommitdiff
path: root/lib/util/samba_modules.h
AgeCommit message (Collapse)AuthorFilesLines
2012-04-03lib/util: Add smb_load_module that returns DEBUG(0) errors on failureAndrew Bartlett1-0/+1
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
2011-12-03Revert making public of the samba-module library.Jelmer Vernooij1-0/+59
This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-10-28lib/util Split samba-modules library into public and private partsAndrew Bartlett1-59/+0
This will allow OpenChange to get at the symbols it needs, without exposing any more of this as a public API than we must. Andrew Bartlett
2011-10-28lib/util Rename load_samba_modules -> samba_modules_loadAndrew Bartlett1-1/+1
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename run_init_functions -> samba_init_module_fns_runAndrew Bartlett1-1/+1
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename init_module_fn to samba_init_module_fnAndrew Bartlett1-4/+4
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.
2011-10-06lib/util: consolidate module loadingAndrew Bartlett1-2/+4
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Oct 6 08:52:30 CEST 2011 on sn-devel-104
2011-10-06modules: standardise on samba_init_module as the hook symbol to resolveAndrew Bartlett1-1/+1
2011-10-06lib/util: Use only init_module_fn typedef in module loadingAndrew Bartlett1-1/+0
2011-10-06lib/util: Remove unused module loading functionsAndrew Bartlett1-7/+0
2011-10-06lib/util: consolidate module loading into common codeAndrew Bartlett1-0/+65
This creates a samba-modules private libary that handles the details. Andrew Bartlett