design choices for a loadable module interface

Will Fiveash will.fiveash at oracle.com
Tue Jun 29 20:32:22 EDT 2010


On Tue, Jun 29, 2010 at 05:09:02PM -0700, Russ Allbery wrote:
> Will Fiveash <will.fiveash at oracle.com> writes:
> 
> > Yes, I've found searching for plugin method definitions to be a total
> > pain when vtables are used and each plugin can arbitrarily name the
> > method/function assigned to the vtable.  It would be much easier to
> > locate the various method definitions if the method/function names were
> > the same across all plugins supporting that method and that was enforced
> > by the plugin SPI framework.
> 
> Those of us who write plugins that support multiple Kerberos
> implementations will just write stub functions to fit the MIT Kerberos
> plugin ABI that call other functions anyway, so you're going to have a
> similar problem with vtables or without them.

One would hope the stub would live in the same file as the actual method
which is still a more straightforward way of locating method
definitions.

-- 
Will Fiveash
Oracle
Note my new work e-mail address: will.fiveash at oracle.com
http://opensolaris.org/os/project/kerberos/
Sent using mutt, a sweet text based e-mail app: http://www.mutt.org/



More information about the krbdev mailing list