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
92c39794
Commit
92c39794
authored
Oct 16, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Oct 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Rename protseq_ops to connection_ops to reflect the fact that
the functions operate on an RpcConnection object, not an RpcServerProtseq object.
parent
e9064241
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
rpc_binding.h
dlls/rpcrt4/rpc_binding.h
+3
-3
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+5
-5
No files found.
dlls/rpcrt4/rpc_binding.h
View file @
92c39794
...
...
@@ -36,7 +36,7 @@ typedef struct _RpcAuthInfo
TimeStamp
exp
;
}
RpcAuthInfo
;
struct
protseq
_ops
;
struct
connection
_ops
;
typedef
struct
_RpcConnection
{
...
...
@@ -45,7 +45,7 @@ typedef struct _RpcConnection
BOOL
server
;
LPSTR
NetworkAddr
;
LPSTR
Endpoint
;
const
struct
protseq
_ops
*
ops
;
const
struct
connection
_ops
*
ops
;
USHORT
MaxTransmissionSize
;
/* The active interface bound to server. */
RPC_SYNTAX_IDENTIFIER
ActiveInterface
;
...
...
@@ -61,7 +61,7 @@ typedef struct _RpcConnection
struct
list
conn_pool_entry
;
}
RpcConnection
;
struct
protseq
_ops
{
struct
connection
_ops
{
const
char
*
name
;
unsigned
char
epm_protocols
[
2
];
/* only floors 3 and 4. see http://www.opengroup.org/onlinepubs/9629399/apdxl.htm */
RpcConnection
*
(
*
alloc
)(
void
);
...
...
dlls/rpcrt4/rpc_transport.c
View file @
92c39794
...
...
@@ -709,7 +709,7 @@ static RPC_STATUS rpcrt4_ncacn_ip_tcp_parse_top_of_tower(const unsigned char *to
return
RPC_S_OK
;
}
static
const
struct
protseq
_ops
protseq_list
[]
=
{
static
const
struct
connection
_ops
protseq_list
[]
=
{
{
"ncacn_np"
,
{
EPM_PROTOCOL_NCACN
,
EPM_PROTOCOL_SMB
},
rpcrt4_conn_np_alloc
,
...
...
@@ -750,7 +750,7 @@ static const struct protseq_ops protseq_list[] = {
#define MAX_PROTSEQ (sizeof protseq_list / sizeof protseq_list[0])
static
const
struct
protseq
_ops
*
rpcrt4_get_protseq_ops
(
const
char
*
protseq
)
static
const
struct
connection
_ops
*
rpcrt4_get_protseq_ops
(
const
char
*
protseq
)
{
int
i
;
for
(
i
=
0
;
i
<
MAX_PROTSEQ
;
i
++
)
...
...
@@ -779,7 +779,7 @@ RPC_STATUS RPCRT4_CreateConnection(RpcConnection** Connection, BOOL server,
LPCSTR
Protseq
,
LPCSTR
NetworkAddr
,
LPCSTR
Endpoint
,
LPCSTR
NetworkOptions
,
RpcAuthInfo
*
AuthInfo
,
RpcBinding
*
Binding
)
{
const
struct
protseq
_ops
*
ops
;
const
struct
connection
_ops
*
ops
;
RpcConnection
*
NewConnection
;
ops
=
rpcrt4_get_protseq_ops
(
Protseq
);
...
...
@@ -875,7 +875,7 @@ RPC_STATUS RpcTransport_GetTopOfTower(unsigned char *tower_data,
const
char
*
endpoint
)
{
twr_empty_floor_t
*
protocol_floor
;
const
struct
protseq
_ops
*
protseq_ops
=
rpcrt4_get_protseq_ops
(
protseq
);
const
struct
connection
_ops
*
protseq_ops
=
rpcrt4_get_protseq_ops
(
protseq
);
*
tower_size
=
0
;
...
...
@@ -913,7 +913,7 @@ RPC_STATUS RpcTransport_ParseTopOfTower(const unsigned char *tower_data,
{
const
twr_empty_floor_t
*
protocol_floor
;
const
twr_empty_floor_t
*
floor4
;
const
struct
protseq
_ops
*
protseq_ops
=
NULL
;
const
struct
connection
_ops
*
protseq_ops
=
NULL
;
RPC_STATUS
status
;
int
i
;
...
...
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