RFR 6722928: Support SSPI as a native GSS-API provider
Nico Williams
Nico.Williams at twosigma.com
Wed Jan 16 16:13:35 UTC 2019
On Wed, Jan 16, 2019 at 11:12:00AM -0500, Christos Zoulas wrote:
> On Jan 17, 12:04am, weijun.wang at oracle.com (Weijun Wang) wrote:
> -- Subject: Re: RFR 6722928: Support SSPI as a native GSS-API provider
>
> | Hi Nico,
> |
> | Can you provide more explanation on below? I have't touched C/C++ for quite=
> | some time and I really forgot what extern "C" is for. I included it here o=
> | nly because it's also in gssapi.h and I thought I should make the declarati=
> | on and implementation consistent.
>
> I am not Nico, but:
>
> extern "C" <decl>;
>
> or
>
> extern "C" {
> <decl>
> };
>
> Tells the compiler that the functions/variables/types declared are supposed
> to follow "C" linkage conventions (they are meant to be used from "C" or
> compiled using a "C" compiler). For functions this means that their names
> don't get mangled, etc.
>
> I hope this helps,
Ah, and that code doesn't need to be C, so never mind that one comment
of mine.
Nico
--
More information about the security-dev
mailing list