RFC: passdb redesign
Gerald Carter
gcarter at valinux.com
Mon Nov 13 18:05:32 GMT 2000
Tim Potter wrote:
>
> > I'm trying to get away from the current use of function
> > pointers. They get rath ercomplicated to follow in the code.
> > I have a few ideas that I just haven't finished fleshing out
> > yet. Will try to summarize thoswe next week.
>
> Aren't function pointers the only way to access the functions in
> a loadable module loaded with dlopen()?
Nope. Not by my tests. The entire namespace from the
shared library is available. Just call the function
directly. At least on Linux is seems to work like this.
Haven't tried other platforms yet.
> It is a bit of a hassle trying to put breakpoints
> and/or trace through code by hand though.
Cheers, jerry
----------------------------------------------------------------------
/\ Gerald (Jerry) Carter Professional Services
\/ http://www.valinux.com/ VA Linux Systems gcarter at valinux.com
http://www.samba.org/ SAMBA Team jerry at samba.org
http://www.plainjoe.org/ jerry at plainjoe.org
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba-technical
mailing list