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
680e3564
Commit
680e3564
authored
Jun 26, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Jun 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Remove the unused AuthInfo field from the RpcAssoc structure and Used from RpcConnection.
parent
2e2b17f3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
13 deletions
+7
-13
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+1
-1
rpc_binding.h
dlls/rpcrt4/rpc_binding.h
+1
-3
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+5
-9
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
680e3564
...
...
@@ -302,7 +302,7 @@ RPC_STATUS RPCRT4_OpenBinding(RpcBinding* Binding, RpcConnection** Connection,
status
=
RPCRT4_CreateConnection
(
&
NewConnection
,
Binding
->
server
,
Binding
->
Protseq
,
Binding
->
NetworkAddr
,
Binding
->
Endpoint
,
Binding
->
NetworkOptions
,
Binding
->
AuthInfo
,
Binding
->
QOS
,
Binding
);
Binding
->
AuthInfo
,
Binding
->
QOS
);
if
(
status
!=
RPC_S_OK
)
return
status
;
...
...
dlls/rpcrt4/rpc_binding.h
View file @
680e3564
...
...
@@ -58,7 +58,6 @@ typedef struct _RpcAssoc
LPSTR
NetworkAddr
;
LPSTR
Endpoint
;
LPWSTR
NetworkOptions
;
RpcAuthInfo
*
AuthInfo
;
/* id of this association group */
ULONG
assoc_group_id
;
...
...
@@ -72,7 +71,6 @@ struct connection_ops;
typedef
struct
_RpcConnection
{
struct
_RpcConnection
*
Next
;
struct
_RpcBinding
*
Used
;
BOOL
server
;
LPSTR
NetworkAddr
;
LPSTR
Endpoint
;
...
...
@@ -152,7 +150,7 @@ RpcConnection *RpcAssoc_GetIdleConnection(RpcAssoc *assoc, const RPC_SYNTAX_IDEN
void
RpcAssoc_ReleaseIdleConnection
(
RpcAssoc
*
assoc
,
RpcConnection
*
Connection
);
ULONG
RpcAssoc_Release
(
RpcAssoc
*
assoc
);
RPC_STATUS
RPCRT4_CreateConnection
(
RpcConnection
**
Connection
,
BOOL
server
,
LPCSTR
Protseq
,
LPCSTR
NetworkAddr
,
LPCSTR
Endpoint
,
LPCWSTR
NetworkOptions
,
RpcAuthInfo
*
AuthInfo
,
RpcQualityOfService
*
QOS
,
RpcBinding
*
Binding
);
RPC_STATUS
RPCRT4_CreateConnection
(
RpcConnection
**
Connection
,
BOOL
server
,
LPCSTR
Protseq
,
LPCSTR
NetworkAddr
,
LPCSTR
Endpoint
,
LPCWSTR
NetworkOptions
,
RpcAuthInfo
*
AuthInfo
,
RpcQualityOfService
*
QOS
);
RPC_STATUS
RPCRT4_DestroyConnection
(
RpcConnection
*
Connection
);
RPC_STATUS
RPCRT4_OpenClientConnection
(
RpcConnection
*
Connection
);
RPC_STATUS
RPCRT4_CloseConnection
(
RpcConnection
*
Connection
);
...
...
dlls/rpcrt4/rpc_transport.c
View file @
680e3564
...
...
@@ -250,7 +250,7 @@ static RPC_STATUS rpcrt4_protseq_ncalrpc_open_endpoint(RpcServerProtseq* protseq
RpcConnection
*
Connection
;
r
=
RPCRT4_CreateConnection
(
&
Connection
,
TRUE
,
protseq
->
Protseq
,
NULL
,
endpoint
,
NULL
,
NULL
,
NULL
,
NULL
);
endpoint
,
NULL
,
NULL
,
NULL
);
if
(
r
!=
RPC_S_OK
)
return
r
;
...
...
@@ -297,7 +297,7 @@ static RPC_STATUS rpcrt4_protseq_ncacn_np_open_endpoint(RpcServerProtseq *protse
RpcConnection
*
Connection
;
r
=
RPCRT4_CreateConnection
(
&
Connection
,
TRUE
,
protseq
->
Protseq
,
NULL
,
endpoint
,
NULL
,
NULL
,
NULL
,
NULL
);
endpoint
,
NULL
,
NULL
,
NULL
);
if
(
r
!=
RPC_S_OK
)
return
r
;
...
...
@@ -857,8 +857,7 @@ static RPC_STATUS rpcrt4_protseq_ncacn_ip_tcp_open_endpoint(RpcServerProtseq *pr
}
create_status
=
RPCRT4_CreateConnection
((
RpcConnection
**
)
&
tcpc
,
TRUE
,
protseq
->
Protseq
,
NULL
,
endpoint
,
NULL
,
NULL
,
NULL
,
NULL
);
endpoint
,
NULL
,
NULL
,
NULL
);
if
(
create_status
!=
RPC_S_OK
)
{
close
(
sock
);
...
...
@@ -1354,8 +1353,7 @@ RPC_STATUS RPCRT4_CloseConnection(RpcConnection* Connection)
RPC_STATUS
RPCRT4_CreateConnection
(
RpcConnection
**
Connection
,
BOOL
server
,
LPCSTR
Protseq
,
LPCSTR
NetworkAddr
,
LPCSTR
Endpoint
,
LPCWSTR
NetworkOptions
,
RpcAuthInfo
*
AuthInfo
,
RpcQualityOfService
*
QOS
,
RpcBinding
*
Binding
)
LPCWSTR
NetworkOptions
,
RpcAuthInfo
*
AuthInfo
,
RpcQualityOfService
*
QOS
)
{
const
struct
connection_ops
*
ops
;
RpcConnection
*
NewConnection
;
...
...
@@ -1374,7 +1372,6 @@ RPC_STATUS RPCRT4_CreateConnection(RpcConnection** Connection, BOOL server,
NewConnection
->
NetworkAddr
=
RPCRT4_strdupA
(
NetworkAddr
);
NewConnection
->
Endpoint
=
RPCRT4_strdupA
(
Endpoint
);
NewConnection
->
NetworkOptions
=
RPCRT4_strdupW
(
NetworkOptions
);
NewConnection
->
Used
=
Binding
;
NewConnection
->
MaxTransmissionSize
=
RPC_MAX_PACKET_SIZE
;
memset
(
&
NewConnection
->
ActiveInterface
,
0
,
sizeof
(
NewConnection
->
ActiveInterface
));
NewConnection
->
NextCallId
=
1
;
...
...
@@ -1518,8 +1515,7 @@ RPC_STATUS RPCRT4_SpawnConnection(RpcConnection** Connection, RpcConnection* Old
rpcrt4_conn_get_name
(
OldConnection
),
OldConnection
->
NetworkAddr
,
OldConnection
->
Endpoint
,
NULL
,
OldConnection
->
AuthInfo
,
OldConnection
->
QOS
,
NULL
);
OldConnection
->
AuthInfo
,
OldConnection
->
QOS
);
if
(
err
==
RPC_S_OK
)
rpcrt4_conn_handoff
(
OldConnection
,
*
Connection
);
return
err
;
...
...
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