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
c953763a
Commit
c953763a
authored
May 23, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
May 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Remove no longer needed helpers.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
42951f3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
23 deletions
+15
-23
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+15
-23
No files found.
dlls/rpcrt4/rpc_transport.c
View file @
c953763a
...
...
@@ -1093,17 +1093,6 @@ static BOOL rpcrt4_sock_wait_for_send(RpcConnection_tcp *tcpc)
}
}
static
void
rpcrt4_sock_wait_cancel
(
RpcConnection_tcp
*
tcpc
)
{
SetEvent
(
tcpc
->
cancel_event
);
}
static
void
rpcrt4_sock_wait_destroy
(
RpcConnection_tcp
*
tcpc
)
{
CloseHandle
(
tcpc
->
sock_event
);
CloseHandle
(
tcpc
->
cancel_event
);
}
static
RpcConnection
*
rpcrt4_conn_tcp_alloc
(
void
)
{
RpcConnection_tcp
*
tcpc
;
...
...
@@ -1433,24 +1422,27 @@ static int rpcrt4_conn_tcp_write(RpcConnection *Connection,
return
bytes_written
;
}
static
int
rpcrt4_conn_tcp_close
(
RpcConnection
*
Connectio
n
)
static
int
rpcrt4_conn_tcp_close
(
RpcConnection
*
con
n
)
{
RpcConnection_tcp
*
tcpc
=
(
RpcConnection_tcp
*
)
Connectio
n
;
RpcConnection_tcp
*
connection
=
(
RpcConnection_tcp
*
)
con
n
;
TRACE
(
"%d
\n
"
,
tcpc
->
sock
);
TRACE
(
"%d
\n
"
,
connection
->
sock
);
if
(
tcpc
->
sock
!=
-
1
)
closesocket
(
tcpc
->
sock
);
tcpc
->
sock
=
-
1
;
rpcrt4_sock_wait_destroy
(
tcpc
);
return
0
;
if
(
connection
->
sock
!=
-
1
)
closesocket
(
connection
->
sock
);
connection
->
sock
=
-
1
;
CloseHandle
(
connection
->
sock_event
);
CloseHandle
(
connection
->
cancel_event
);
return
0
;
}
static
void
rpcrt4_conn_tcp_cancel_call
(
RpcConnection
*
Connectio
n
)
static
void
rpcrt4_conn_tcp_cancel_call
(
RpcConnection
*
con
n
)
{
RpcConnection_tcp
*
tcpc
=
(
RpcConnection_tcp
*
)
Connection
;
TRACE
(
"%p
\n
"
,
Connection
);
rpcrt4_sock_wait_cancel
(
tcpc
);
RpcConnection_tcp
*
connection
=
(
RpcConnection_tcp
*
)
conn
;
TRACE
(
"%p
\n
"
,
connection
);
SetEvent
(
connection
->
cancel_event
);
}
static
RPC_STATUS
rpcrt4_conn_tcp_is_server_listening
(
const
char
*
endpoint
)
...
...
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