Changeset 21916 for trunk/src/secur32


Ignore:
Timestamp:
Dec 18, 2011, 10:28:22 PM (14 years ago)
Author:
dmik
Message:

Merge branch gcc-kmk to trunk.

Location:
trunk
Files:
2 deleted
6 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1 bin
        2 Makefile.inc
         1env.cmd
         2LocalConfig.kmk
    • Property svn:mergeinfo set to
      /branches/gcc-kmkmergedeligible
  • trunk/src/secur32/secur32.c

    r21364 r21916  
    1717 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    1818 */
     19
    1920#include <assert.h>
    2021#include <stdarg.h>
     22#include <memory.h>
    2123
    2224#include "ntstatus.h"
     
    6163 *  Prototypes
    6264 */
     65
     66ULONG WIN32API LsaNtStatusToWinError(NTSTATUS Status);
    6367
    6468/* Tries to load moduleName as a provider.  If successful, enumerates what
  • trunk/src/secur32/secur32.def

    r21364 r21916  
    55EXPORTS
    66
    7 AcceptSecurityContext = _AcceptSecurityContext@36 @1
    8 AcquireCredentialsHandleA = _AcquireCredentialsHandleA@36 @2
    9 AcquireCredentialsHandleW = _AcquireCredentialsHandleW@36 @3
    10 AddCredentialsA = _AddCredentialsA@32 @4
    11 AddCredentialsW = _AddCredentialsW@32 @5
     7AcceptSecurityContext = "_AcceptSecurityContext@36" @1
     8AcquireCredentialsHandleA = "_AcquireCredentialsHandleA@36" @2
     9AcquireCredentialsHandleW = "_AcquireCredentialsHandleW@36" @3
     10AddCredentialsA = "_AddCredentialsA@32" @4
     11AddCredentialsW = "_AddCredentialsW@32" @5
    1212;AddCredentialsW = _AddSecurityPackageA @6
    1313;AddCredentialsW = _AddSecurityPackageW @7
    14 ApplyControlToken = _ApplyControlToken@8 @8
    15 CompleteAuthToken = _CompleteAuthToken@8 @9
    16 DecryptMessage = _DecryptMessage@16 @10
    17 DeleteSecurityContext = _DeleteSecurityContext@4 @11
     14ApplyControlToken = "_ApplyControlToken@8" @8
     15CompleteAuthToken = "_CompleteAuthToken@8" @9
     16DecryptMessage = "_DecryptMessage@16" @10
     17DeleteSecurityContext = "_DeleteSecurityContext@4" @11
    1818;DeleteSecurityContext = _DeleteSecurityPackageA @12
    1919;DeleteSecurityContext = _DeleteSecurityPackageW @13
    20 EncryptMessage = _EncryptMessage@16 @14
    21 EnumerateSecurityPackagesA = _EnumerateSecurityPackagesA@8 @15
    22 EnumerateSecurityPackagesW = _EnumerateSecurityPackagesW@8 @16
    23 ExportSecurityContext = _ExportSecurityContext@16 @17
    24 FreeContextBuffer = _FreeContextBuffer@4 @18
    25 FreeCredentialsHandle = _FreeCredentialsHandle@4 @19
    26 GetComputerObjectNameA = _GetComputerObjectNameA@12 @20
    27 GetComputerObjectNameW = _GetComputerObjectNameW@12 @21
     20EncryptMessage = "_EncryptMessage@16" @14
     21EnumerateSecurityPackagesA = "_EnumerateSecurityPackagesA@8" @15
     22EnumerateSecurityPackagesW = "_EnumerateSecurityPackagesW@8" @16
     23ExportSecurityContext = "_ExportSecurityContext@16" @17
     24FreeContextBuffer = "_FreeContextBuffer@4" @18
     25FreeCredentialsHandle = "_FreeCredentialsHandle@4" @19
     26GetComputerObjectNameA = "_GetComputerObjectNameA@12" @20
     27GetComputerObjectNameW = "_GetComputerObjectNameW@12" @21
    2828;GetComputerObjectNameW = _GetSecurityUserInfo @22
    29 GetUserNameExA = _GetUserNameExA@12 @23
    30 GetUserNameExW = _GetUserNameExW@12 @24
    31 ImpersonateSecurityContext = _ImpersonateSecurityContext@4 @25
    32 ImportSecurityContextA = _ImportSecurityContextA@16 @26
    33 ImportSecurityContextW = _ImportSecurityContextW@16 @27
    34 InitSecurityInterfaceA = _InitSecurityInterfaceA@0 @28
    35 InitSecurityInterfaceW = _InitSecurityInterfaceW@0 @29
    36 InitializeSecurityContextA = _InitializeSecurityContextA@48 @30
    37 InitializeSecurityContextW = _InitializeSecurityContextW@48 @31
    38 LsaCallAuthenticationPackage = _LsaCallAuthenticationPackage@28 @32
    39 LsaConnectUntrusted = _LsaConnectUntrusted@4 @33
    40 LsaDeregisterLogonProcess = _LsaDeregisterLogonProcess@4 @34
    41 LsaEnumerateLogonSessions = _LsaEnumerateLogonSessions@8 @35
    42 LsaFreeReturnBuffer = _LsaFreeReturnBuffer@4 @36
    43 LsaGetLogonSessionData = _LsaGetLogonSessionData@8 @37
    44 LsaLogonUser = _LsaLogonUser@56 @38
    45 LsaLookupAuthenticationPackage = _LsaLookupAuthenticationPackage@12 @39
    46 LsaRegisterLogonProcess = _LsaRegisterLogonProcess@12 @40
     29GetUserNameExA = "_GetUserNameExA@12" @23
     30GetUserNameExW = "_GetUserNameExW@12" @24
     31ImpersonateSecurityContext = "_ImpersonateSecurityContext@4" @25
     32ImportSecurityContextA = "_ImportSecurityContextA@16" @26
     33ImportSecurityContextW = "_ImportSecurityContextW@16" @27
     34InitSecurityInterfaceA = "_InitSecurityInterfaceA@0" @28
     35InitSecurityInterfaceW = "_InitSecurityInterfaceW@0" @29
     36InitializeSecurityContextA = "_InitializeSecurityContextA@48" @30
     37InitializeSecurityContextW = "_InitializeSecurityContextW@48" @31
     38LsaCallAuthenticationPackage = "_LsaCallAuthenticationPackage@28" @32
     39LsaConnectUntrusted = "_LsaConnectUntrusted@4" @33
     40LsaDeregisterLogonProcess = "_LsaDeregisterLogonProcess@4" @34
     41LsaEnumerateLogonSessions = "_LsaEnumerateLogonSessions@8" @35
     42LsaFreeReturnBuffer = "_LsaFreeReturnBuffer@4" @36
     43LsaGetLogonSessionData = "_LsaGetLogonSessionData@8" @37
     44LsaLogonUser = "_LsaLogonUser@56" @38
     45LsaLookupAuthenticationPackage = "_LsaLookupAuthenticationPackage@12" @39
     46LsaRegisterLogonProcess = "_LsaRegisterLogonProcess@12" @40
    4747;LsaRegisterLogonProcess = _LsaRegisterPolicyChangeNotification @41
    4848;LsaRegisterLogonProcess = _LsaUnregisterPolicyChangeNotification @42
    49 MakeSignature = _MakeSignature@16 @43
    50 QueryContextAttributesA = _QueryContextAttributesA@12 @44
    51 QueryContextAttributesW = _QueryContextAttributesW@12 @45
    52 QueryCredentialsAttributesA = _QueryCredentialsAttributesA@12 @46
    53 QueryCredentialsAttributesW = _QueryCredentialsAttributesW@12 @47
    54 QuerySecurityContextToken = _QuerySecurityContextToken@8 @48
    55 QuerySecurityPackageInfoA = _QuerySecurityPackageInfoA@8 @49
    56 QuerySecurityPackageInfoW = _QuerySecurityPackageInfoW@8 @50
    57 RevertSecurityContext = _RevertSecurityContext@4 @51
     49MakeSignature = "_MakeSignature@16" @43
     50QueryContextAttributesA = "_QueryContextAttributesA@12" @44
     51QueryContextAttributesW = "_QueryContextAttributesW@12" @45
     52QueryCredentialsAttributesA = "_QueryCredentialsAttributesA@12" @46
     53QueryCredentialsAttributesW = "_QueryCredentialsAttributesW@12" @47
     54QuerySecurityContextToken = "_QuerySecurityContextToken@8" @48
     55QuerySecurityPackageInfoA = "_QuerySecurityPackageInfoA@8" @49
     56QuerySecurityPackageInfoW = "_QuerySecurityPackageInfoW@8" @50
     57RevertSecurityContext = "_RevertSecurityContext@4" @51
    5858;RevertSecurityContext = _SaslAcceptSecurityContext @52
    5959;RevertSecurityContext = _SaslEnumerateProfilesA @53
     
    6565;RevertSecurityContext = _SaslInitializeSecurityContextA @59
    6666;RevertSecurityContext = _SaslInitializeSecurityContextW @60
    67 SealMessage = _EncryptMessage@16 @61
     67SealMessage = "_EncryptMessage@16" @61
    6868;SealMessage = _SecCacheSspiPackages @62
    6969;SealMessage = _SecGetLocaleSpecificEncryptionRules @63
     
    7171;SealMessage = _SecpTranslateName @65
    7272;SealMessage = _SecpTranslateNameEx @66
    73 TranslateNameA = _TranslateNameA@20 @67
    74 TranslateNameW = _TranslateNameW@20 @68
    75 UnsealMessage = _DecryptMessage@16 @69
    76 VerifySignature = _VerifySignature@16 @70
     73TranslateNameA = "_TranslateNameA@20" @67
     74TranslateNameW = "_TranslateNameW@20" @68
     75UnsealMessage = "_DecryptMessage@16" @69
     76VerifySignature = "_VerifySignature@16" @70
    7777
    7878IMPORTS
    7979
    8080CredFree = ADVAPI32.509
    81 _CredReadW@16 = ADVAPI32.510
    82 LsaNtStatusToWinError = ADVAPI32.223
    83 _NetWkstaUserGetInfo@12 = NETAPI32.202
     81"_CredReadW@16" = ADVAPI32.510
     82"_NetWkstaUserGetInfo@12" = NETAPI32.202
    8483
  • trunk/src/secur32/secur32_priv.h

    r21364 r21916  
    2525#include "wine/list.h"
    2626
     27#ifndef __EMX__
    2728typedef ULONG pid_t;
     29#endif
    2830
    2931typedef struct _SecureProvider
  • trunk/src/secur32/thunks.c

    r21364 r21916  
    1818 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    1919 */
     20
    2021#include <stdarg.h>
     22#include <memory.h>
     23
    2124#include "windef.h"
    2225#include "winbase.h"
  • trunk/src/secur32/util.c

    r21364 r21916  
    1818 * This file contains various helper functions needed for NTLM and maybe others
    1919 */
     20
    2021#include <stdarg.h>
    2122#include <stdio.h>
     23#include <memory.h>
     24
    2225#include "windef.h"
    2326#include "winbase.h"
Note: See TracChangeset for help on using the changeset viewer.