[PATCH] Plugin Interface Change

Nico Williams nico at cryptonector.com
Thu Oct 6 00:24:36 EDT 2011


On Wed, Oct 5, 2011 at 10:54 PM, Greg Hudson <ghudson at mit.edu> wrote:
> On Wed, 2011-10-05 at 19:54 -0400, Will Fiveash wrote:
>> As an aside, having dealt with bugs related to the fact that void *
>> essentially disables C type checking wouldn't it be better to use a
>> incomplete struct pointer typedef?
>
> We use incomplete structs a lot lately when it's simply a matter of
> hiding a type between one module and another, but I don't want to impose
> that as a requirement for every kind of opaque callback handle.

Agreed, callback data should always be void *.

Nico
--



More information about the krbdev mailing list