RFR 6722928: Support SSPI as a native GSS-API provider

Christos Zoulas christos at zoulas.com
Wed Jan 16 16:12:00 UTC 2019


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,

christos



More information about the security-dev mailing list