Small and Fast (was: Re: Add InitializeSecurityContext for schannel)

Detlef Riekenberg at
Tue Feb 14 16:22:09 CST 2006

Am Dienstag, den 14.02.2006, 17:34 +0530 schrieb Vijay Kiran Kamuju:

> Add InitializeSecurityContext for schannel in secur32.dll

+static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
+ PCredHandle phCredential, PCtxtHandle phContext, SEC_WCHAR
+ ULONG fContextReq, ULONG Reserved1, ULONG TargetDataRep,
+ PSecBufferDesc pInput,ULONG Reserved2, PCtxtHandle phNewContext,
+ PSecBufferDesc pOutput, ULONG *pfContextAttr, PTimeStamp ptsExpiry)

I Remembered a statement from fefe (diet-libc => about
"Writing Small and Fast Software":

It is still clear, what each Argument does, when you remove the
Variable-Names from the Declaration?
- Yes: Efficient Design.
- No:  Your Interface is to generic ==  bloated

static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
 PCredHandle, PCtxtHandle, SEC_WCHAR *, ULONG, ULONG, ULONG,
 PSecBufferDesc, ULONG, PCtxtHandle, PSecBufferDesc, ULONG, PTimeStamp)

We all should thank the People who did such a Design :-)

By By ...
      ... Detlef

More information about the wine-devel mailing list