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
98a38924
Commit
98a38924
authored
Sep 21, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Add traces.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
98923665
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
5 deletions
+30
-5
channel.c
dlls/webservices/channel.c
+2
-0
error.c
dlls/webservices/error.c
+1
-0
heap.c
dlls/webservices/heap.c
+2
-0
listener.c
dlls/webservices/listener.c
+1
-0
msg.c
dlls/webservices/msg.c
+9
-2
proxy.c
dlls/webservices/proxy.c
+13
-3
reader.c
dlls/webservices/reader.c
+1
-0
writer.c
dlls/webservices/writer.c
+1
-0
No files found.
dlls/webservices/channel.c
View file @
98a38924
...
...
@@ -304,6 +304,7 @@ HRESULT WINAPI WsCreateChannel( WS_CHANNEL_TYPE type, WS_CHANNEL_BINDING binding
if
((
hr
=
create_channel
(
type
,
binding
,
properties
,
count
,
&
channel
))
!=
S_OK
)
return
hr
;
TRACE
(
"created %p
\n
"
,
channel
);
*
handle
=
(
WS_CHANNEL
*
)
channel
;
return
S_OK
;
}
...
...
@@ -332,6 +333,7 @@ HRESULT WINAPI WsCreateChannelForListener( WS_LISTENER *listener_handle, const W
if
((
hr
=
create_channel
(
type
,
binding
,
properties
,
count
,
&
channel
))
!=
S_OK
)
return
hr
;
TRACE
(
"created %p
\n
"
,
channel
);
*
handle
=
(
WS_CHANNEL
*
)
channel
;
return
S_OK
;
}
...
...
dlls/webservices/error.c
View file @
98a38924
...
...
@@ -102,6 +102,7 @@ HRESULT WINAPI WsCreateError( const WS_ERROR_PROPERTY *properties, ULONG count,
}
}
TRACE
(
"created %p
\n
"
,
error
);
*
handle
=
(
WS_ERROR
*
)
error
;
return
S_OK
;
}
...
...
dlls/webservices/heap.c
View file @
98a38924
...
...
@@ -208,6 +208,7 @@ HRESULT WINAPI WsCreateHeap( SIZE_T max_size, SIZE_T trim_size, const WS_HEAP_PR
prop_set
(
heap
->
prop
,
heap
->
prop_count
,
WS_HEAP_PROPERTY_MAX_SIZE
,
&
max_size
,
sizeof
(
max_size
)
);
prop_set
(
heap
->
prop
,
heap
->
prop_count
,
WS_HEAP_PROPERTY_TRIM_SIZE
,
&
trim_size
,
sizeof
(
trim_size
)
);
TRACE
(
"created %p
\n
"
,
heap
);
*
handle
=
(
WS_HEAP
*
)
heap
;
return
S_OK
;
}
...
...
@@ -363,6 +364,7 @@ HRESULT WINAPI WsCreateXmlBuffer( WS_HEAP *heap, const WS_XML_BUFFER_PROPERTY *p
return
WS_E_QUOTA_EXCEEDED
;
}
TRACE
(
"created %p
\n
"
,
xmlbuf
);
*
handle
=
(
WS_XML_BUFFER
*
)
xmlbuf
;
return
S_OK
;
}
dlls/webservices/listener.c
View file @
98a38924
...
...
@@ -227,6 +227,7 @@ HRESULT WINAPI WsCreateListener( WS_CHANNEL_TYPE type, WS_CHANNEL_BINDING bindin
if
((
hr
=
create_listener
(
type
,
binding
,
properties
,
count
,
&
listener
))
!=
S_OK
)
return
hr
;
TRACE
(
"created %p
\n
"
,
listener
);
*
handle
=
(
WS_LISTENER
*
)
listener
;
return
S_OK
;
}
...
...
dlls/webservices/msg.c
View file @
98a38924
...
...
@@ -214,6 +214,8 @@ HRESULT WINAPI WsCreateMessage( WS_ENVELOPE_VERSION env_version, WS_ADDRESSING_V
const
WS_MESSAGE_PROPERTY
*
properties
,
ULONG
count
,
WS_MESSAGE
**
handle
,
WS_ERROR
*
error
)
{
HRESULT
hr
;
TRACE
(
"%u %u %p %u %p %p
\n
"
,
env_version
,
addr_version
,
properties
,
count
,
handle
,
error
);
if
(
error
)
FIXME
(
"ignoring error parameter
\n
"
);
...
...
@@ -222,7 +224,10 @@ HRESULT WINAPI WsCreateMessage( WS_ENVELOPE_VERSION env_version, WS_ADDRESSING_V
{
return
E_INVALIDARG
;
}
return
create_msg
(
env_version
,
addr_version
,
properties
,
count
,
handle
);
if
((
hr
=
create_msg
(
env_version
,
addr_version
,
properties
,
count
,
handle
))
!=
S_OK
)
return
hr
;
TRACE
(
"created %p
\n
"
,
*
handle
);
return
S_OK
;
}
/**************************************************************************
...
...
@@ -248,7 +253,9 @@ HRESULT WINAPI WsCreateMessageForChannel( WS_CHANNEL *channel_handle, const WS_M
sizeof
(
version_addr
),
NULL
))
!=
S_OK
||
!
version_addr
)
version_addr
=
WS_ADDRESSING_VERSION_1_0
;
return
create_msg
(
version_env
,
version_addr
,
properties
,
count
,
handle
);
if
((
hr
=
create_msg
(
version_env
,
version_addr
,
properties
,
count
,
handle
))
!=
S_OK
)
return
hr
;
TRACE
(
"created %p
\n
"
,
*
handle
);
return
S_OK
;
}
/**************************************************************************
...
...
dlls/webservices/proxy.c
View file @
98a38924
...
...
@@ -135,9 +135,13 @@ HRESULT WINAPI WsCreateServiceProxy( const WS_CHANNEL_TYPE type, const WS_CHANNE
NULL
))
!=
S_OK
)
return
hr
;
if
((
hr
=
create_proxy
(
channel
,
proxy_props
,
proxy_props_count
,
handle
))
!=
S_OK
)
{
WsFreeChannel
(
channel
);
return
hr
;
}
return
hr
;
TRACE
(
"created %p
\n
"
,
*
handle
);
return
S_OK
;
}
/**************************************************************************
...
...
@@ -194,8 +198,14 @@ HRESULT WINAPI WsCreateServiceProxyFromTemplate( WS_CHANNEL_TYPE channel_type,
if
((
hr
=
WsCreateChannel
(
channel_type
,
binding
,
channel_props
,
channel_props_count
,
NULL
,
&
channel
,
NULL
))
!=
S_OK
)
return
hr
;
if
((
hr
=
create_proxy
(
channel
,
properties
,
count
,
handle
))
!=
S_OK
)
WsFreeChannel
(
channel
);
return
hr
;
if
((
hr
=
create_proxy
(
channel
,
properties
,
count
,
handle
))
!=
S_OK
)
{
WsFreeChannel
(
channel
);
return
hr
;
}
TRACE
(
"created %p
\n
"
,
*
handle
);
return
S_OK
;
}
/**************************************************************************
...
...
dlls/webservices/reader.c
View file @
98a38924
...
...
@@ -558,6 +558,7 @@ HRESULT WINAPI WsCreateReader( const WS_XML_READER_PROPERTY *properties, ULONG c
return
hr
;
}
TRACE
(
"created %p
\n
"
,
reader
);
*
handle
=
(
WS_XML_READER
*
)
reader
;
return
S_OK
;
}
...
...
dlls/webservices/writer.c
View file @
98a38924
...
...
@@ -236,6 +236,7 @@ HRESULT WINAPI WsCreateWriter( const WS_XML_WRITER_PROPERTY *properties, ULONG c
return
hr
;
}
TRACE
(
"created %p
\n
"
,
writer
);
*
handle
=
(
WS_XML_WRITER
*
)
writer
;
return
S_OK
;
}
...
...
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