[17260] in Kerberos_V5_Development
Re: [PATCH] Plugin Interface Change
daemon@ATHENA.MIT.EDU (Nico Williams)
Thu Oct 6 00:24:41 2011
MIME-Version: 1.0
In-Reply-To: <1317873289.2101.135.camel@t410>
Date: Wed, 5 Oct 2011 23:24:36 -0500
Message-ID: <CAK3OfOjh0RjBbTr=NbKuEyZWXL+c8hgqRGC54gi31nTArx4MKw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Greg Hudson <ghudson@mit.edu>
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
On Wed, Oct 5, 2011 at 10:54 PM, Greg Hudson <ghudson@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
--
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev