Update secur32.def from win7.

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3443 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-crt/ChangeLog b/mingw-w64-crt/ChangeLog
index 9545637..5a6eb97 100644
--- a/mingw-w64-crt/ChangeLog
+++ b/mingw-w64-crt/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-13  Jonathan Yong  <jon_y@sourceforge.net>
+
+	* lib32/secur32.def: Update from Win7.
+	* lib64/secur32.def: Likewise.
+
 2010-08-19  Ozkan Sezer  <sezeroz@gmail.com>
 
 	* libsrc/cguid-uuid.c (GUID_NULL): Moved from here ...
diff --git a/mingw-w64-crt/lib32/secur32.def b/mingw-w64-crt/lib32/secur32.def
index 83cf707..e6ad240 100644
--- a/mingw-w64-crt/lib32/secur32.def
+++ b/mingw-w64-crt/lib32/secur32.def
@@ -1,41 +1,111 @@
-LIBRARY SECUR32.dll
+;
+; Definition file of Secur32.dll
+; Automatic generated by gendef
+; written by Kai Tietz 2008
+;
+LIBRARY "Secur32.dll"
 EXPORTS
+CloseLsaPerformanceData@0
+CollectLsaPerformanceData@16
+OpenLsaPerformanceData@4
 AcceptSecurityContext@36
 AcquireCredentialsHandleA@36
 AcquireCredentialsHandleW@36
 ApplyControlTokenA@8
 ApplyControlTokenW@8
+AddCredentialsA@32
+AddCredentialsW@32
+AddSecurityPackageA@8
+AddSecurityPackageW@8
+ApplyControlToken@8
+ChangeAccountPasswordA@32
+ChangeAccountPasswordW@32
 CompleteAuthToken@8
+CredMarshalTargetInfo@12
+CredParseUserNameWithType@16
+CredUnmarshalTargetInfo@16
 DecryptMessage@16
 DeleteSecurityContext@4
+DeleteSecurityPackageA@4
+DeleteSecurityPackageW@4
 EncryptMessage@16
 EnumerateSecurityPackagesA@8
 EnumerateSecurityPackagesW@8
+ExportSecurityContext@16
 FreeContextBuffer@4
 FreeCredentialsHandle@4
 GetComputerObjectNameA@12
 GetComputerObjectNameW@12
+GetSecurityUserInfo@12
 GetUserNameExA@12
 GetUserNameExW@12
 ImpersonateSecurityContext@4
+ImportSecurityContextA@16
+ImportSecurityContextW@16
 InitSecurityInterfaceA@0
 InitSecurityInterfaceW@0
 InitializeSecurityContextA@48
 InitializeSecurityContextW@48
 LsaCallAuthenticationPackage@28
+LsaConnectUntrusted@4
 LsaDeregisterLogonProcess@4
+LsaEnumerateLogonSessions@8
 LsaFreeReturnBuffer@4
+LsaGetLogonSessionData@8
 LsaLogonUser@56
 LsaLookupAuthenticationPackage@12
 LsaRegisterLogonProcess@12
+LsaRegisterPolicyChangeNotification@8
+LsaUnregisterPolicyChangeNotification@8
 MakeSignature@16
 QueryContextAttributesA@12
 QueryContextAttributesW@12
 QueryCredentialsAttributesA@12
 QueryCredentialsAttributesW@12
+QuerySecurityContextToken@8
 QuerySecurityPackageInfoA@8
 QuerySecurityPackageInfoW@8
 RevertSecurityContext@4
+SaslAcceptSecurityContext@36
+SaslEnumerateProfilesA@8
+SaslEnumerateProfilesW@8
+SaslGetContextOption@20
+SaslGetProfilePackageA@8
+SaslGetProfilePackageW@8
+SaslIdentifyPackageA@8
+SaslIdentifyPackageW@8
+SaslInitializeSecurityContextA@48
+SaslInitializeSecurityContextW@48
+SaslSetContextOption@16
+SealMessage@16
+SeciAllocateAndSetCallFlags@8
+SeciAllocateAndSetIPAddress@12
+SeciFreeCallContext@0
+SecpFreeMemory@4
+SecpTranslateName@24
+SecpTranslateNameEx@24
+SetContextAttributesA@16
+SetContextAttributesW@16
+SetCredentialsAttributesA@16
+SetCredentialsAttributesW@16
+SspiCompareAuthIdentities@16
+SspiCopyAuthIdentity@8
+SspiDecryptAuthIdentity@4
+SspiEncodeAuthIdentityAsStrings@16
+SspiEncodeStringsAsAuthIdentity@16
+SspiEncryptAuthIdentity@4
+SspiExcludePackage@12
+SspiFreeAuthIdentity@4
+SspiGetTargetHostName@8
+SspiIsAuthIdentityEncrypted@4
+SspiLocalFree@4
+SspiMarshalAuthIdentity@12
+SspiPrepareForCredRead@16
+SspiPrepareForCredWrite@28
+SspiUnmarshalAuthIdentity@12
+SspiValidateAuthIdentity@4
+SspiZeroAuthIdentity@4
 TranslateNameA@20
 TranslateNameW@20
+UnsealMessage@16
 VerifySignature@16
diff --git a/mingw-w64-crt/lib64/secur32.def b/mingw-w64-crt/lib64/secur32.def
index 02443b9..04c43ad 100644
--- a/mingw-w64-crt/lib64/secur32.def
+++ b/mingw-w64-crt/lib64/secur32.def
@@ -1,13 +1,15 @@
-; 
-; Exports of file Secur32.dll
 ;
-; Autogenerated by gen_exportdef
-; Written by Kai Tietz, 2007
+; Definition file of Secur32.dll
+; Automatic generated by gendef
+; written by Kai Tietz 2008
 ;
-LIBRARY Secur32.dll
+LIBRARY "Secur32.dll"
 EXPORTS
 SecDeleteUserModeContext
 SecInitUserModeContext
+CloseLsaPerformanceData
+CollectLsaPerformanceData
+OpenLsaPerformanceData
 AcceptSecurityContext
 AcquireCredentialsHandleA
 AcquireCredentialsHandleW
@@ -16,8 +18,11 @@
 AddSecurityPackageA
 AddSecurityPackageW
 ApplyControlToken
+ChangeAccountPasswordA
+ChangeAccountPasswordW
 CompleteAuthToken
 CredMarshalTargetInfo
+CredParseUserNameWithType
 CredUnmarshalTargetInfo
 DecryptMessage
 DeleteSecurityContext
@@ -74,6 +79,9 @@
 SaslSetContextOption
 SealMessage
 SecCacheSspiPackages
+SeciAllocateAndSetCallFlags
+SeciAllocateAndSetIPAddress
+SeciFreeCallContext
 SecpFreeMemory
 SecpSetIPAddress
 SecpTranslateName
@@ -82,6 +90,23 @@
 SetContextAttributesW
 SetCredentialsAttributesA
 SetCredentialsAttributesW
+SspiCompareAuthIdentities
+SspiCopyAuthIdentity
+SspiDecryptAuthIdentity
+SspiEncodeAuthIdentityAsStrings
+SspiEncodeStringsAsAuthIdentity
+SspiEncryptAuthIdentity
+SspiExcludePackage
+SspiFreeAuthIdentity
+SspiGetTargetHostName
+SspiIsAuthIdentityEncrypted
+SspiLocalFree
+SspiMarshalAuthIdentity
+SspiPrepareForCredRead
+SspiPrepareForCredWrite
+SspiUnmarshalAuthIdentity
+SspiValidateAuthIdentity
+SspiZeroAuthIdentity
 TranslateNameA
 TranslateNameW
 UnsealMessage