Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
433993ee
Commit
433993ee
authored
Nov 08, 2006
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add RPC/DCE defines and structures related to RPC_SECURITY_QOS_V2.
parent
a39f3da5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
93 additions
and
0 deletions
+93
-0
rpcdce.h
include/rpcdce.h
+93
-0
No files found.
include/rpcdce.h
View file @
433993ee
...
...
@@ -139,6 +139,45 @@ typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE;
#define RPC_C_AUTHN_MQ 100
#define RPC_C_AUTHN_DEFAULT 0xffffffff
/* values for RPC_SECURITY_QOS*::ImpersonationLevel */
#define RPC_C_IMP_LEVEL_DEFAULT 0
#define RPC_C_IMP_LEVEL_ANONYMOUS 1
#define RPC_C_IMP_LEVEL_IDENTIFY 2
#define RPC_C_IMP_LEVEL_IMPERSONATE 3
#define RPC_C_IMP_LEVEL_DELEGATE 4
/* values for RPC_SECURITY_QOS*::IdentityTracking */
#define RPC_C_QOS_IDENTIFY_STATIC 0
#define RPC_C_QOS_IDENTIFY_DYNAMIC 1
/* flags for RPC_SECURITY_QOS*::Capabilities */
#define RPC_C_QOS_CAPABILITIES_DEFAULT 0x0
#define RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH 0x1
#define RPC_C_QOS_CAPABILITIES_MAKE_FULLSIC 0x2
#define RPC_C_QOS_CAPABILITIES_ANY_AUTHORITY 0x4
/* values for RPC_SECURITY_QOS*::Version */
#define RPC_C_SECURITY_QOS_VERSION 1
#define RPC_C_SECURITY_QOS_VERSION_1 1
#define RPC_C_SECURITY_QOS_VERSION_2 2
/* flags for RPC_SECURITY_QOS_V2::AdditionalSecurityInfoType */
#define RPC_C_AUTHN_INFO_TYPE_HTTP 1
/* flags for RPC_HTTP_TRANSPORT_CREDENTIALS::Flags */
#define RPC_C_HTTP_FLAG_USE_SSL 0x1
#define RPC_C_HTTP_FLAG_USE_FIRST_AUTH_SCHEME 0x2
/* values for RPC_HTTP_TRANSPORT_CREDENTIALS::AuthenticationTarget */
#define RPC_C_HTTP_AUTHN_TARGET_SERVER 1
#define RPC_C_HTTP_AUTHN_TARGET_PROXY 2
#define RPC_C_HTTP_AUTHN_SCHEME_BASIC 0x01
#define RPC_C_HTTP_AUTHN_SCHEME_NTLM 0x02
#define RPC_C_HTTP_AUTHN_SCHEME_PASSPORT 0x04
#define RPC_C_HTTP_AUTHN_SCHEME_DIGEST 0x08
#define RPC_C_HTTP_AUTHN_SCHEME_NEGOTIATE 0x10
typedef
RPC_STATUS
RPC_ENTRY
RPC_IF_CALLBACK_FN
(
RPC_IF_HANDLE
InterfaceUuid
,
void
*
Context
);
typedef
void
(
__RPC_USER
*
RPC_AUTH_KEY_RETRIEVAL_FN
)();
...
...
@@ -171,6 +210,26 @@ typedef struct _SEC_WINNT_AUTH_IDENTITY_A
unsigned
long
Flags
;
}
SEC_WINNT_AUTH_IDENTITY_A
,
*
PSEC_WINNT_AUTH_IDENTITY_A
;
typedef
struct
_RPC_HTTP_TRANSPORT_CREDENTIALS_W
{
SEC_WINNT_AUTH_IDENTITY_W
*
TransportCredentials
;
unsigned
long
Flags
;
unsigned
long
AuthenticationTarget
;
unsigned
long
NumberOfAuthnSchemes
;
unsigned
long
*
AuthnSchemes
;
unsigned
short
*
ServerCertificateSubject
;
}
RPC_HTTP_TRANSPORT_CREDENTIALS_W
,
*
PRPC_HTTP_TRANSPORT_CREDENTIALS_W
;
typedef
struct
_RPC_HTTP_TRANSPORT_CREDENTIALS_A
{
SEC_WINNT_AUTH_IDENTITY_A
*
TransportCredentials
;
unsigned
long
Flags
;
unsigned
long
AuthenticationTarget
;
unsigned
long
NumberOfAuthnSchemes
;
unsigned
long
*
AuthnSchemes
;
unsigned
char
*
ServerCertificateSubject
;
}
RPC_HTTP_TRANSPORT_CREDENTIALS_A
,
*
PRPC_HTTP_TRANSPORT_CREDENTIALS_A
;
typedef
struct
_RPC_SECURITY_QOS
{
unsigned
long
Version
;
unsigned
long
Capabilities
;
...
...
@@ -178,10 +237,44 @@ typedef struct _RPC_SECURITY_QOS {
unsigned
long
ImpersonationType
;
}
RPC_SECURITY_QOS
,
*
PRPC_SECURITY_QOS
;
typedef
struct
_RPC_SECURITY_QOS_V2_W
{
unsigned
long
Version
;
unsigned
long
Capabilities
;
unsigned
long
IdentityTracking
;
unsigned
long
ImpersonationType
;
unsigned
long
AdditionalSecurityInfoType
;
union
{
RPC_HTTP_TRANSPORT_CREDENTIALS_W
*
HttpCredentials
;
}
u
;
}
RPC_SECURITY_QOS_V2_W
,
*
PRPC_SECURITY_QOS_V2_W
;
typedef
struct
_RPC_SECURITY_QOS_V2_A
{
unsigned
long
Version
;
unsigned
long
Capabilities
;
unsigned
long
IdentityTracking
;
unsigned
long
ImpersonationType
;
unsigned
long
AdditionalSecurityInfoType
;
union
{
RPC_HTTP_TRANSPORT_CREDENTIALS_A
*
HttpCredentials
;
}
u
;
}
RPC_SECURITY_QOS_V2_A
,
*
PRPC_SECURITY_QOS_V2_A
;
#define _SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(_SEC_WINNT_AUTH_IDENTITY_)
#define SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(SEC_WINNT_AUTH_IDENTITY_)
#define PSEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(PSEC_WINNT_AUTH_IDENTITY_)
#define RPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(RPC_HTTP_TRANSPORT_CREDENTIALS_)
#define PRPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(PRPC_HTTP_TRANSPORT_CREDENTIALS_)
#define _RPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(_RPC_HTTP_TRANSPORT_CREDENTIALS_)
#define RPC_SECURITY_QOS_V2 WINELIB_NAME_AW(RPC_SECURITY_QOS_V2_)
#define PRPC_SECURITY_QOS_V2 WINELIB_NAME_AW(PRPC_SECURITY_QOS_V2_)
#define _RPC_SECURITY_QOS_V2 WINELIB_NAME_AW(_RPC_SECURITY_QOS_V2_)
/* SEC_WINNT_AUTH Flags */
#define SEC_WINNT_AUTH_IDENTITY_ANSI 0x1
#define SEC_WINNT_AUTH_IDENTITY_UNICODE 0x2
...
...
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