> On Jan 17, 2019, at 12:13 AM, Nico Williams <nico.willi...@twosigma.com> > wrote: > > On Wed, Jan 16, 2019 at 11:12:00AM -0500, Christos Zoulas wrote: >> On Jan 17, 12:04am, weijun.w...@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. So I can just throw away the 'extern "c"' line? > > Nico > --
- Re: RFR 6722928: Support SSPI as a native GSS-API provider Nico Williams
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Nico Williams
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Weijun Wang
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Weijun Wang
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Nico Williams
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Nico Williams
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Nico Williams
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Weijun Wang
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Christos Zoulas
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Nico Williams
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Weijun Wang
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Nico Williams
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Weijun Wang
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Nico Williams
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Weijun Wang
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Nico Williams
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Weijun Wang
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Nico Williams
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Weijun Wang
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Michael Osipov
- Re: RFR 6722928: Support SSPI as a native GSS-API pro... Nico Williams