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
ac42d701
Commit
ac42d701
authored
Aug 16, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Add missing channel properties.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b2829c4b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
10 deletions
+52
-10
channel.c
dlls/webservices/channel.c
+51
-9
webservices_private.h
dlls/webservices/webservices_private.h
+1
-1
No files found.
dlls/webservices/channel.c
View file @
ac42d701
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "winuser.h"
#include "winuser.h"
#include "winsock2.h"
#include "webservices.h"
#include "webservices.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -31,15 +32,56 @@ WINE_DEFAULT_DEBUG_CHANNEL(webservices);
...
@@ -31,15 +32,56 @@ WINE_DEFAULT_DEBUG_CHANNEL(webservices);
static
const
struct
prop_desc
channel_props
[]
=
static
const
struct
prop_desc
channel_props
[]
=
{
{
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_BUFFERED_MESSAGE_SIZE */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_BUFFERED_MESSAGE_SIZE */
{
sizeof
(
UINT64
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_STREAMED_MESSAGE_SIZE */
{
sizeof
(
UINT64
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_STREAMED_MESSAGE_SIZE */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_STREAMED_START_SIZE */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_STREAMED_START_SIZE */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_STREAMED_FLUSH_SIZE */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_STREAMED_FLUSH_SIZE */
{
sizeof
(
WS_ENCODING
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ENCODING */
{
sizeof
(
WS_ENCODING
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ENCODING */
{
sizeof
(
WS_ENVELOPE_VERSION
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ENVELOPE_VERSION */
{
sizeof
(
WS_ENVELOPE_VERSION
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ENVELOPE_VERSION */
{
sizeof
(
WS_ADDRESSING_VERSION
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ADDRESSING_VERSION */
{
sizeof
(
WS_ADDRESSING_VERSION
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ADDRESSING_VERSION */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_SESSION_DICTIONARY_SIZE */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_SESSION_DICTIONARY_SIZE */
{
sizeof
(
WS_CHANNEL_STATE
),
TRUE
},
/* WS_CHANNEL_PROPERTY_STATE */
{
sizeof
(
WS_CHANNEL_STATE
),
TRUE
},
/* WS_CHANNEL_PROPERTY_STATE */
{
sizeof
(
WS_CALLBACK_MODEL
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ASYNC_CALLBACK_MODEL */
{
sizeof
(
WS_IP_VERSION
),
FALSE
},
/* WS_CHANNEL_PROPERTY_IP_VERSION */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_RESOLVE_TIMEOUT */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_CONNECT_TIMEOUT */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_SEND_TIMEOUT */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_RECEIVE_RESPONSE_TIMEOUT */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_RECEIVE_TIMEOUT */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_CLOSE_TIMEOUT */
{
sizeof
(
BOOL
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ENABLE_TIMEOUTS */
{
sizeof
(
WS_TRANSFER_MODE
),
FALSE
},
/* WS_CHANNEL_PROPERTY_TRANSFER_MODE */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MULTICAST_INTERFACE */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MULTICAST_HOPS */
{
sizeof
(
WS_ENDPOINT_ADDRESS
),
TRUE
},
/* WS_CHANNEL_PROPERTY_REMOTE_ADDRESS */
{
sizeof
(
SOCKADDR_STORAGE
),
TRUE
},
/* WS_CHANNEL_PROPERTY_REMOTE_IP_ADDRESS */
{
sizeof
(
ULONGLONG
),
TRUE
},
/* WS_CHANNEL_PROPERTY_HTTP_CONNECTION_ID */
{
sizeof
(
WS_CUSTOM_CHANNEL_CALLBACKS
),
FALSE
},
/* WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_CALLBACKS */
{
0
,
FALSE
},
/* WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_PARAMETERS */
{
sizeof
(
void
*
),
FALSE
},
/* WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_INSTANCE */
{
sizeof
(
WS_STRING
),
TRUE
},
/* WS_CHANNEL_PROPERTY_TRANSPORT_URL */
{
sizeof
(
BOOL
),
FALSE
},
/* WS_CHANNEL_PROPERTY_NO_DELAY */
{
sizeof
(
BOOL
),
FALSE
},
/* WS_CHANNEL_PROPERTY_SEND_KEEP_ALIVES */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_KEEP_ALIVE_TIME */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_KEEP_ALIVE_INTERVAL */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_MAX_HTTP_SERVER_CONNECTIONS */
{
sizeof
(
BOOL
),
TRUE
},
/* WS_CHANNEL_PROPERTY_IS_SESSION_SHUT_DOWN */
{
sizeof
(
WS_CHANNEL_TYPE
),
TRUE
},
/* WS_CHANNEL_PROPERTY_CHANNEL_TYPE */
{
sizeof
(
ULONG
),
FALSE
},
/* WS_CHANNEL_PROPERTY_TRIM_BUFFERED_MESSAGE_SIZE */
{
sizeof
(
WS_CHANNEL_ENCODER
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ENCODER */
{
sizeof
(
WS_CHANNEL_DECODER
),
FALSE
},
/* WS_CHANNEL_PROPERTY_DECODER */
{
sizeof
(
WS_PROTECTION_LEVEL
),
TRUE
},
/* WS_CHANNEL_PROPERTY_PROTECTION_LEVEL */
{
sizeof
(
WS_COOKIE_MODE
),
FALSE
},
/* WS_CHANNEL_PROPERTY_COOKIE_MODE */
{
sizeof
(
WS_HTTP_PROXY_SETTING_MODE
),
FALSE
},
/* WS_CHANNEL_PROPERTY_HTTP_PROXY_SETTING_MODE */
{
sizeof
(
WS_CUSTOM_HTTP_PROXY
),
FALSE
},
/* WS_CHANNEL_PROPERTY_CUSTOM_HTTP_PROXY */
{
sizeof
(
WS_HTTP_MESSAGE_MAPPING
),
FALSE
},
/* WS_CHANNEL_PROPERTY_HTTP_MESSAGE_MAPPING */
{
sizeof
(
BOOL
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ENABLE_HTTP_REDIRECT */
{
sizeof
(
WS_HTTP_REDIRECT_CALLBACK_CONTEXT
),
FALSE
},
/* WS_CHANNEL_PROPERTY_HTTP_REDIRECT_CALLBACK_CONTEXT */
{
sizeof
(
BOOL
),
FALSE
},
/* WS_CHANNEL_PROPERTY_FAULTS_AS_ERRORS */
{
sizeof
(
BOOL
),
FALSE
},
/* WS_CHANNEL_PROPERTY_ALLOW_UNSECURED_FAULTS */
{
sizeof
(
WCHAR
*
),
TRUE
},
/* WS_CHANNEL_PROPERTY_HTTP_SERVER_SPN */
{
sizeof
(
WCHAR
*
),
TRUE
},
/* WS_CHANNEL_PROPERTY_HTTP_PROXY_SPN */
{
sizeof
(
ULONG
),
FALSE
}
/* WS_CHANNEL_PROPERTY_MAX_HTTP_REQUEST_HEADERS_BUFFER_SIZE */
};
};
static
struct
channel
*
alloc_channel
(
void
)
static
struct
channel
*
alloc_channel
(
void
)
...
...
dlls/webservices/webservices_private.h
View file @
ac42d701
...
@@ -95,7 +95,7 @@ struct channel
...
@@ -95,7 +95,7 @@ struct channel
WS_CHANNEL_BINDING
binding
;
WS_CHANNEL_BINDING
binding
;
WS_CHANNEL_STATE
state
;
WS_CHANNEL_STATE
state
;
ULONG
prop_count
;
ULONG
prop_count
;
struct
prop
prop
[
9
];
struct
prop
prop
[
50
];
};
};
HRESULT
create_channel
(
WS_CHANNEL_TYPE
,
WS_CHANNEL_BINDING
,
const
WS_CHANNEL_PROPERTY
*
,
HRESULT
create_channel
(
WS_CHANNEL_TYPE
,
WS_CHANNEL_BINDING
,
const
WS_CHANNEL_PROPERTY
*
,
...
...
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