[RFC] issues with the modules system

jra at dp.samba.org jra at dp.samba.org
Fri Apr 18 18:40:12 GMT 2003


On Thu, Apr 17, 2003 at 07:04:11PM +0200, Jelmer Vernooij wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tuesday 15 April 2003 10:19, jra at dp.samba.org wrote:
> > On Tue, Apr 15, 2003 at 12:43:26AM +0200, Jelmer Vernooij wrote:
> > > Hi,
> > >
> > > During dinner today I've discussed the current modules system with
> > > metze. Here's the issues we saw with the current code:
> > >
> > >  - undefined symbol errors (loading shared modules with support for
> > >  	subsystems not supported by the active utility, such as loading
> > > 	passdb into nmbd)
> > >  - We currently mix BOOL and int, which is nasty
> > We could fix this on compilers that support it by
> > mapping BOOL to bool_t.
> > Should cause errors/warnings.
> Could we use an enum for it? bool_t doesn't seem to be available on GNU 
> systems, isn't it C++-only or something ?

Hmmm. Could be - yeah, we could fake it with an enum instead...

Jeremy.


More information about the samba-technical mailing list