Alternative proposal (was Plugin project proposal)

Nicolas Williams Nicolas.Williams at oracle.com
Thu Jul 22 18:38:42 EDT 2010


On Wed, Jul 21, 2010 at 11:57:12PM -0400, Greg Hudson wrote:
> In the meantime, I wrote proof of concept code and checked it into
> svn://anonsvn.mit.edu/krb5/branches/plugins2.  People are welcome to
> look at that if they want (there's a README.BRANCH at the top level
> walking through the code changes), or they can wait for Thomas to finish
> the design writeup.

That looks reasonable enough.  I gave you some feedback on IRC.  I think
the v-table init code can be generalized, but otherwise there's nothing
objectionable here (even though I'd rather not use vtables in the plugin
interface itself).

You've made design choices (e.g., no required/optional plugin entry
points) that make the code generation aspect of my proposal unnecessary.

The key is that you retain strong type checking.

Cheers,

Nico
-- 



More information about the krbdev mailing list