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
7e061e4f
Commit
7e061e4f
authored
Mar 26, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Mar 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Make some parameters of non-exported functions const.
parent
adb7cca8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+12
-12
rpc_binding.h
dlls/rpcrt4/rpc_binding.h
+2
-2
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
7e061e4f
...
@@ -110,7 +110,7 @@ static RPC_STATUS RPCRT4_AllocBinding(RpcBinding** Binding, BOOL server)
...
@@ -110,7 +110,7 @@ static RPC_STATUS RPCRT4_AllocBinding(RpcBinding** Binding, BOOL server)
return
RPC_S_OK
;
return
RPC_S_OK
;
}
}
static
RPC_STATUS
RPCRT4_CreateBindingA
(
RpcBinding
**
Binding
,
BOOL
server
,
LPSTR
Protseq
)
static
RPC_STATUS
RPCRT4_CreateBindingA
(
RpcBinding
**
Binding
,
BOOL
server
,
LP
C
STR
Protseq
)
{
{
RpcBinding
*
NewBinding
;
RpcBinding
*
NewBinding
;
...
@@ -123,7 +123,7 @@ static RPC_STATUS RPCRT4_CreateBindingA(RpcBinding** Binding, BOOL server, LPSTR
...
@@ -123,7 +123,7 @@ static RPC_STATUS RPCRT4_CreateBindingA(RpcBinding** Binding, BOOL server, LPSTR
return
RPC_S_OK
;
return
RPC_S_OK
;
}
}
static
RPC_STATUS
RPCRT4_CreateBindingW
(
RpcBinding
**
Binding
,
BOOL
server
,
LPWSTR
Protseq
)
static
RPC_STATUS
RPCRT4_CreateBindingW
(
RpcBinding
**
Binding
,
BOOL
server
,
LP
C
WSTR
Protseq
)
{
{
RpcBinding
*
NewBinding
;
RpcBinding
*
NewBinding
;
...
@@ -136,8 +136,8 @@ static RPC_STATUS RPCRT4_CreateBindingW(RpcBinding** Binding, BOOL server, LPWST
...
@@ -136,8 +136,8 @@ static RPC_STATUS RPCRT4_CreateBindingW(RpcBinding** Binding, BOOL server, LPWST
return
RPC_S_OK
;
return
RPC_S_OK
;
}
}
static
RPC_STATUS
RPCRT4_CompleteBindingA
(
RpcBinding
*
Binding
,
LPSTR
NetworkAddr
,
static
RPC_STATUS
RPCRT4_CompleteBindingA
(
RpcBinding
*
Binding
,
LP
C
STR
NetworkAddr
,
LP
STR
Endpoint
,
LP
STR
NetworkOptions
)
LP
CSTR
Endpoint
,
LPC
STR
NetworkOptions
)
{
{
RPC_STATUS
status
;
RPC_STATUS
status
;
...
@@ -165,8 +165,8 @@ static RPC_STATUS RPCRT4_CompleteBindingA(RpcBinding* Binding, LPSTR NetworkAddr
...
@@ -165,8 +165,8 @@ static RPC_STATUS RPCRT4_CompleteBindingA(RpcBinding* Binding, LPSTR NetworkAddr
return
RPC_S_OK
;
return
RPC_S_OK
;
}
}
static
RPC_STATUS
RPCRT4_CompleteBindingW
(
RpcBinding
*
Binding
,
LPWSTR
NetworkAddr
,
static
RPC_STATUS
RPCRT4_CompleteBindingW
(
RpcBinding
*
Binding
,
LP
C
WSTR
NetworkAddr
,
LP
WSTR
Endpoint
,
LP
WSTR
NetworkOptions
)
LP
CWSTR
Endpoint
,
LPC
WSTR
NetworkOptions
)
{
{
RPC_STATUS
status
;
RPC_STATUS
status
;
...
@@ -194,7 +194,7 @@ static RPC_STATUS RPCRT4_CompleteBindingW(RpcBinding* Binding, LPWSTR NetworkAdd
...
@@ -194,7 +194,7 @@ static RPC_STATUS RPCRT4_CompleteBindingW(RpcBinding* Binding, LPWSTR NetworkAdd
return
RPC_S_OK
;
return
RPC_S_OK
;
}
}
RPC_STATUS
RPCRT4_ResolveBinding
(
RpcBinding
*
Binding
,
LPSTR
Endpoint
)
RPC_STATUS
RPCRT4_ResolveBinding
(
RpcBinding
*
Binding
,
LP
C
STR
Endpoint
)
{
{
RPC_STATUS
status
;
RPC_STATUS
status
;
...
@@ -214,7 +214,7 @@ RPC_STATUS RPCRT4_ResolveBinding(RpcBinding* Binding, LPSTR Endpoint)
...
@@ -214,7 +214,7 @@ RPC_STATUS RPCRT4_ResolveBinding(RpcBinding* Binding, LPSTR Endpoint)
return
RPC_S_OK
;
return
RPC_S_OK
;
}
}
RPC_STATUS
RPCRT4_SetBindingObject
(
RpcBinding
*
Binding
,
UUID
*
ObjectUuid
)
RPC_STATUS
RPCRT4_SetBindingObject
(
RpcBinding
*
Binding
,
const
UUID
*
ObjectUuid
)
{
{
TRACE
(
"(*RpcBinding == ^%p, UUID == %s)
\n
"
,
Binding
,
debugstr_guid
(
ObjectUuid
));
TRACE
(
"(*RpcBinding == ^%p, UUID == %s)
\n
"
,
Binding
,
debugstr_guid
(
ObjectUuid
));
if
(
ObjectUuid
)
memcpy
(
&
Binding
->
ObjectUuid
,
ObjectUuid
,
sizeof
(
UUID
));
if
(
ObjectUuid
)
memcpy
(
&
Binding
->
ObjectUuid
,
ObjectUuid
,
sizeof
(
UUID
));
...
@@ -838,17 +838,17 @@ RPC_STATUS WINAPI RpcBindingToStringBindingA( RPC_BINDING_HANDLE Binding, RPC_CS
...
@@ -838,17 +838,17 @@ RPC_STATUS WINAPI RpcBindingToStringBindingA( RPC_BINDING_HANDLE Binding, RPC_CS
{
{
RPC_STATUS
ret
;
RPC_STATUS
ret
;
RpcBinding
*
bind
=
(
RpcBinding
*
)
Binding
;
RpcBinding
*
bind
=
(
RpcBinding
*
)
Binding
;
LP
STR
ObjectUuid
;
RPC_C
STR
ObjectUuid
;
TRACE
(
"(%p,%p)
\n
"
,
Binding
,
StringBinding
);
TRACE
(
"(%p,%p)
\n
"
,
Binding
,
StringBinding
);
ret
=
UuidToStringA
(
&
bind
->
ObjectUuid
,
(
unsigned
char
**
)
&
ObjectUuid
);
ret
=
UuidToStringA
(
&
bind
->
ObjectUuid
,
&
ObjectUuid
);
if
(
ret
!=
RPC_S_OK
)
return
ret
;
if
(
ret
!=
RPC_S_OK
)
return
ret
;
ret
=
RpcStringBindingComposeA
(
(
unsigned
char
*
)
ObjectUuid
,
(
unsigned
char
*
)
bind
->
Protseq
,
(
unsigned
char
*
)
bind
->
NetworkAddr
,
ret
=
RpcStringBindingComposeA
(
ObjectUuid
,
(
unsigned
char
*
)
bind
->
Protseq
,
(
unsigned
char
*
)
bind
->
NetworkAddr
,
(
unsigned
char
*
)
bind
->
Endpoint
,
NULL
,
StringBinding
);
(
unsigned
char
*
)
bind
->
Endpoint
,
NULL
,
StringBinding
);
RpcStringFreeA
(
(
unsigned
char
**
)
&
ObjectUuid
);
RpcStringFreeA
(
&
ObjectUuid
);
return
ret
;
return
ret
;
}
}
...
...
dlls/rpcrt4/rpc_binding.h
View file @
7e061e4f
...
@@ -144,8 +144,8 @@ RPC_STATUS RPCRT4_OpenClientConnection(RpcConnection* Connection);
...
@@ -144,8 +144,8 @@ RPC_STATUS RPCRT4_OpenClientConnection(RpcConnection* Connection);
RPC_STATUS
RPCRT4_CloseConnection
(
RpcConnection
*
Connection
);
RPC_STATUS
RPCRT4_CloseConnection
(
RpcConnection
*
Connection
);
RPC_STATUS
RPCRT4_SpawnConnection
(
RpcConnection
**
Connection
,
RpcConnection
*
OldConnection
);
RPC_STATUS
RPCRT4_SpawnConnection
(
RpcConnection
**
Connection
,
RpcConnection
*
OldConnection
);
RPC_STATUS
RPCRT4_ResolveBinding
(
RpcBinding
*
Binding
,
LPSTR
Endpoint
);
RPC_STATUS
RPCRT4_ResolveBinding
(
RpcBinding
*
Binding
,
LP
C
STR
Endpoint
);
RPC_STATUS
RPCRT4_SetBindingObject
(
RpcBinding
*
Binding
,
UUID
*
ObjectUuid
);
RPC_STATUS
RPCRT4_SetBindingObject
(
RpcBinding
*
Binding
,
const
UUID
*
ObjectUuid
);
RPC_STATUS
RPCRT4_MakeBinding
(
RpcBinding
**
Binding
,
RpcConnection
*
Connection
);
RPC_STATUS
RPCRT4_MakeBinding
(
RpcBinding
**
Binding
,
RpcConnection
*
Connection
);
RPC_STATUS
RPCRT4_ExportBinding
(
RpcBinding
**
Binding
,
RpcBinding
*
OldBinding
);
RPC_STATUS
RPCRT4_ExportBinding
(
RpcBinding
**
Binding
,
RpcBinding
*
OldBinding
);
RPC_STATUS
RPCRT4_DestroyBinding
(
RpcBinding
*
Binding
);
RPC_STATUS
RPCRT4_DestroyBinding
(
RpcBinding
*
Binding
);
...
...
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