Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a93e4cf6
Commit
a93e4cf6
authored
Nov 23, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Remove DECLSPEC_HIDDEN usage.
parent
015c947c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
24 deletions
+24
-24
secur32_priv.h
dlls/secur32/secur32_priv.h
+10
-10
thunks.h
dlls/secur32/thunks.h
+14
-14
No files found.
dlls/secur32/secur32_priv.h
View file @
a93e4cf6
...
@@ -52,33 +52,33 @@ typedef struct _SecurePackage
...
@@ -52,33 +52,33 @@ typedef struct _SecurePackage
* Returns a pointer to the stored provider entry, for use adding packages.
* Returns a pointer to the stored provider entry, for use adding packages.
*/
*/
SecureProvider
*
SECUR32_addProvider
(
const
SecurityFunctionTableA
*
fnTableA
,
SecureProvider
*
SECUR32_addProvider
(
const
SecurityFunctionTableA
*
fnTableA
,
const
SecurityFunctionTableW
*
fnTableW
,
PCWSTR
moduleName
)
DECLSPEC_HIDDEN
;
const
SecurityFunctionTableW
*
fnTableW
,
PCWSTR
moduleName
);
/* Allocates space for and adds toAdd packages with the given provider.
/* Allocates space for and adds toAdd packages with the given provider.
* provider must not be NULL, and either infoA or infoW may be NULL, but not
* provider must not be NULL, and either infoA or infoW may be NULL, but not
* both.
* both.
*/
*/
void
SECUR32_addPackages
(
SecureProvider
*
provider
,
ULONG
toAdd
,
void
SECUR32_addPackages
(
SecureProvider
*
provider
,
ULONG
toAdd
,
const
SecPkgInfoA
*
infoA
,
const
SecPkgInfoW
*
infoW
)
DECLSPEC_HIDDEN
;
const
SecPkgInfoA
*
infoA
,
const
SecPkgInfoW
*
infoW
);
/* Tries to find the package named packageName. If it finds it, implicitly
/* Tries to find the package named packageName. If it finds it, implicitly
* loads the package if it isn't already loaded.
* loads the package if it isn't already loaded.
*/
*/
SecurePackage
*
SECUR32_findPackageW
(
PCWSTR
packageName
)
DECLSPEC_HIDDEN
;
SecurePackage
*
SECUR32_findPackageW
(
PCWSTR
packageName
);
/* Tries to find the package named packageName. (Thunks to _findPackageW)
/* Tries to find the package named packageName. (Thunks to _findPackageW)
*/
*/
SecurePackage
*
SECUR32_findPackageA
(
PCSTR
packageName
)
DECLSPEC_HIDDEN
;
SecurePackage
*
SECUR32_findPackageA
(
PCSTR
packageName
);
/* Initialization functions for built-in providers */
/* Initialization functions for built-in providers */
void
SECUR32_initSchannelSP
(
void
)
DECLSPEC_HIDDEN
;
void
SECUR32_initSchannelSP
(
void
);
void
load_auth_packages
(
void
)
DECLSPEC_HIDDEN
;
void
load_auth_packages
(
void
);
NTSTATUS
NTAPI
nego_SpLsaModeInitialize
(
ULONG
,
PULONG
,
PSECPKG_FUNCTION_TABLE
*
,
PULONG
)
DECLSPEC_HIDDEN
;
NTSTATUS
NTAPI
nego_SpLsaModeInitialize
(
ULONG
,
PULONG
,
PSECPKG_FUNCTION_TABLE
*
,
PULONG
);
NTSTATUS
NTAPI
nego_SpUserModeInitialize
(
ULONG
,
PULONG
,
PSECPKG_USER_FUNCTION_TABLE
*
,
PULONG
)
DECLSPEC_HIDDEN
;
NTSTATUS
NTAPI
nego_SpUserModeInitialize
(
ULONG
,
PULONG
,
PSECPKG_USER_FUNCTION_TABLE
*
,
PULONG
);
SECPKG_FUNCTION_TABLE
*
lsa_find_package
(
const
char
*
name
,
SECPKG_USER_FUNCTION_TABLE
**
user_api
)
DECLSPEC_HIDDEN
;
SECPKG_FUNCTION_TABLE
*
lsa_find_package
(
const
char
*
name
,
SECPKG_USER_FUNCTION_TABLE
**
user_api
);
/* Cleanup functions for built-in providers */
/* Cleanup functions for built-in providers */
void
SECUR32_deinitSchannelSP
(
void
)
DECLSPEC_HIDDEN
;
void
SECUR32_deinitSchannelSP
(
void
);
/* schannel internal interface */
/* schannel internal interface */
typedef
UINT64
schan_session
;
typedef
UINT64
schan_session
;
...
...
dlls/secur32/thunks.h
View file @
a93e4cf6
...
@@ -27,48 +27,48 @@
...
@@ -27,48 +27,48 @@
SECURITY_STATUS
SEC_ENTRY
thunk_AcquireCredentialsHandleA
(
SECURITY_STATUS
SEC_ENTRY
thunk_AcquireCredentialsHandleA
(
SEC_CHAR
*
pszPrincipal
,
SEC_CHAR
*
pszPackage
,
ULONG
fCredentialsUse
,
SEC_CHAR
*
pszPrincipal
,
SEC_CHAR
*
pszPackage
,
ULONG
fCredentialsUse
,
PLUID
pvLogonID
,
PVOID
pAuthData
,
SEC_GET_KEY_FN
pGetKeyFn
,
PLUID
pvLogonID
,
PVOID
pAuthData
,
SEC_GET_KEY_FN
pGetKeyFn
,
PVOID
pvGetKeyArgument
,
PCredHandle
phCredential
,
PTimeStamp
ptsExpiry
)
DECLSPEC_HIDDEN
;
PVOID
pvGetKeyArgument
,
PCredHandle
phCredential
,
PTimeStamp
ptsExpiry
);
SECURITY_STATUS
SEC_ENTRY
thunk_AcquireCredentialsHandleW
(
SECURITY_STATUS
SEC_ENTRY
thunk_AcquireCredentialsHandleW
(
SEC_WCHAR
*
pszPrincipal
,
SEC_WCHAR
*
pszPackage
,
ULONG
fCredentialsUse
,
SEC_WCHAR
*
pszPrincipal
,
SEC_WCHAR
*
pszPackage
,
ULONG
fCredentialsUse
,
PLUID
pvLogonID
,
PVOID
pAuthData
,
SEC_GET_KEY_FN
pGetKeyFn
,
PLUID
pvLogonID
,
PVOID
pAuthData
,
SEC_GET_KEY_FN
pGetKeyFn
,
PVOID
pvGetKeyArgument
,
PCredHandle
phCredential
,
PTimeStamp
ptsExpiry
)
DECLSPEC_HIDDEN
;
PVOID
pvGetKeyArgument
,
PCredHandle
phCredential
,
PTimeStamp
ptsExpiry
);
SECURITY_STATUS
SEC_ENTRY
thunk_InitializeSecurityContextA
(
SECURITY_STATUS
SEC_ENTRY
thunk_InitializeSecurityContextA
(
PCredHandle
phCredential
,
PCtxtHandle
phContext
,
PCredHandle
phCredential
,
PCtxtHandle
phContext
,
SEC_CHAR
*
pszTargetName
,
ULONG
fContextReq
,
SEC_CHAR
*
pszTargetName
,
ULONG
fContextReq
,
ULONG
Reserved1
,
ULONG
TargetDataRep
,
PSecBufferDesc
pInput
,
ULONG
Reserved1
,
ULONG
TargetDataRep
,
PSecBufferDesc
pInput
,
ULONG
Reserved2
,
PCtxtHandle
phNewContext
,
PSecBufferDesc
pOutput
,
ULONG
Reserved2
,
PCtxtHandle
phNewContext
,
PSecBufferDesc
pOutput
,
ULONG
*
pfContextAttr
,
PTimeStamp
ptsExpiry
)
DECLSPEC_HIDDEN
;
ULONG
*
pfContextAttr
,
PTimeStamp
ptsExpiry
);
SECURITY_STATUS
SEC_ENTRY
thunk_InitializeSecurityContextW
(
SECURITY_STATUS
SEC_ENTRY
thunk_InitializeSecurityContextW
(
PCredHandle
phCredential
,
PCtxtHandle
phContext
,
PCredHandle
phCredential
,
PCtxtHandle
phContext
,
SEC_WCHAR
*
pszTargetName
,
ULONG
fContextReq
,
SEC_WCHAR
*
pszTargetName
,
ULONG
fContextReq
,
ULONG
Reserved1
,
ULONG
TargetDataRep
,
PSecBufferDesc
pInput
,
ULONG
Reserved1
,
ULONG
TargetDataRep
,
PSecBufferDesc
pInput
,
ULONG
Reserved2
,
PCtxtHandle
phNewContext
,
PSecBufferDesc
pOutput
,
ULONG
Reserved2
,
PCtxtHandle
phNewContext
,
PSecBufferDesc
pOutput
,
ULONG
*
pfContextAttr
,
PTimeStamp
ptsExpiry
)
DECLSPEC_HIDDEN
;
ULONG
*
pfContextAttr
,
PTimeStamp
ptsExpiry
);
SECURITY_STATUS
SEC_ENTRY
thunk_ImportSecurityContextA
(
SECURITY_STATUS
SEC_ENTRY
thunk_ImportSecurityContextA
(
SEC_CHAR
*
pszPackage
,
PSecBuffer
pPackedContext
,
void
*
Token
,
SEC_CHAR
*
pszPackage
,
PSecBuffer
pPackedContext
,
void
*
Token
,
PCtxtHandle
phContext
)
DECLSPEC_HIDDEN
;
PCtxtHandle
phContext
);
SECURITY_STATUS
SEC_ENTRY
thunk_ImportSecurityContextW
(
SECURITY_STATUS
SEC_ENTRY
thunk_ImportSecurityContextW
(
SEC_WCHAR
*
pszPackage
,
PSecBuffer
pPackedContext
,
void
*
Token
,
SEC_WCHAR
*
pszPackage
,
PSecBuffer
pPackedContext
,
void
*
Token
,
PCtxtHandle
phContext
)
DECLSPEC_HIDDEN
;
PCtxtHandle
phContext
);
SECURITY_STATUS
SEC_ENTRY
thunk_AddCredentialsA
(
PCredHandle
hCredentials
,
SECURITY_STATUS
SEC_ENTRY
thunk_AddCredentialsA
(
PCredHandle
hCredentials
,
SEC_CHAR
*
pszPrincipal
,
SEC_CHAR
*
pszPackage
,
ULONG
fCredentialUse
,
SEC_CHAR
*
pszPrincipal
,
SEC_CHAR
*
pszPackage
,
ULONG
fCredentialUse
,
void
*
pAuthData
,
SEC_GET_KEY_FN
pGetKeyFn
,
void
*
pvGetKeyArgument
,
void
*
pAuthData
,
SEC_GET_KEY_FN
pGetKeyFn
,
void
*
pvGetKeyArgument
,
PTimeStamp
ptsExpiry
)
DECLSPEC_HIDDEN
;
PTimeStamp
ptsExpiry
);
SECURITY_STATUS
SEC_ENTRY
thunk_AddCredentialsW
(
PCredHandle
hCredentials
,
SECURITY_STATUS
SEC_ENTRY
thunk_AddCredentialsW
(
PCredHandle
hCredentials
,
SEC_WCHAR
*
pszPrincipal
,
SEC_WCHAR
*
pszPackage
,
ULONG
fCredentialUse
,
SEC_WCHAR
*
pszPrincipal
,
SEC_WCHAR
*
pszPackage
,
ULONG
fCredentialUse
,
void
*
pAuthData
,
SEC_GET_KEY_FN
pGetKeyFn
,
void
*
pvGetKeyArgument
,
void
*
pAuthData
,
SEC_GET_KEY_FN
pGetKeyFn
,
void
*
pvGetKeyArgument
,
PTimeStamp
ptsExpiry
)
DECLSPEC_HIDDEN
;
PTimeStamp
ptsExpiry
);
SECURITY_STATUS
SEC_ENTRY
thunk_QueryCredentialsAttributesA
(
SECURITY_STATUS
SEC_ENTRY
thunk_QueryCredentialsAttributesA
(
PCredHandle
phCredential
,
ULONG
ulAttribute
,
void
*
pBuffer
)
DECLSPEC_HIDDEN
;
PCredHandle
phCredential
,
ULONG
ulAttribute
,
void
*
pBuffer
);
SECURITY_STATUS
SEC_ENTRY
thunk_QueryCredentialsAttributesW
(
SECURITY_STATUS
SEC_ENTRY
thunk_QueryCredentialsAttributesW
(
PCredHandle
phCredential
,
ULONG
ulAttribute
,
void
*
pBuffer
)
DECLSPEC_HIDDEN
;
PCredHandle
phCredential
,
ULONG
ulAttribute
,
void
*
pBuffer
);
SECURITY_STATUS
SEC_ENTRY
thunk_QueryContextAttributesA
(
SECURITY_STATUS
SEC_ENTRY
thunk_QueryContextAttributesA
(
PCtxtHandle
phContext
,
ULONG
ulAttribute
,
void
*
pBuffer
)
DECLSPEC_HIDDEN
;
PCtxtHandle
phContext
,
ULONG
ulAttribute
,
void
*
pBuffer
);
SECURITY_STATUS
SEC_ENTRY
thunk_QueryContextAttributesW
(
SECURITY_STATUS
SEC_ENTRY
thunk_QueryContextAttributesW
(
PCtxtHandle
phContext
,
ULONG
ulAttribute
,
void
*
pBuffer
)
DECLSPEC_HIDDEN
;
PCtxtHandle
phContext
,
ULONG
ulAttribute
,
void
*
pBuffer
);
SECURITY_STATUS
SEC_ENTRY
thunk_SetContextAttributesA
(
PCtxtHandle
phContext
,
SECURITY_STATUS
SEC_ENTRY
thunk_SetContextAttributesA
(
PCtxtHandle
phContext
,
ULONG
ulAttribute
,
void
*
pBuffer
,
ULONG
cbBuffer
)
DECLSPEC_HIDDEN
;
ULONG
ulAttribute
,
void
*
pBuffer
,
ULONG
cbBuffer
);
SECURITY_STATUS
SEC_ENTRY
thunk_SetContextAttributesW
(
PCtxtHandle
phContext
,
SECURITY_STATUS
SEC_ENTRY
thunk_SetContextAttributesW
(
PCtxtHandle
phContext
,
ULONG
ulAttribute
,
void
*
pBuffer
,
ULONG
cbBuffer
)
DECLSPEC_HIDDEN
;
ULONG
ulAttribute
,
void
*
pBuffer
,
ULONG
cbBuffer
);
#endif
/* ndef __SECUR32_THUNKS_H__ */
#endif
/* ndef __SECUR32_THUNKS_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment