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
7930ada8
Commit
7930ada8
authored
Apr 19, 2004
by
Filip Navara
Committed by
Alexandre Julliard
Apr 19, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some RPC prototypes to get it compiling with W32API.
parent
766315e1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
33 deletions
+32
-33
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+10
-10
rpc_epmap.c
dlls/rpcrt4/rpc_epmap.c
+4
-4
rpc_server.c
dlls/rpcrt4/rpc_server.c
+4
-5
rpcdce.h
include/rpcdce.h
+14
-14
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
7930ada8
...
...
@@ -553,9 +553,9 @@ static LPWSTR RPCRT4_strconcatW(LPWSTR dst, LPCWSTR src)
/***********************************************************************
* RpcStringBindingComposeA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcStringBindingComposeA
(
LPSTR
ObjUuid
,
LPSTR
Protseq
,
LPSTR
NetworkAddr
,
LPSTR
Endpoint
,
LPSTR
Options
,
LPSTR
*
StringBinding
)
RPC_STATUS
WINAPI
RpcStringBindingComposeA
(
unsigned
char
*
ObjUuid
,
unsigned
char
*
Protseq
,
unsigned
char
*
NetworkAddr
,
unsigned
char
*
Endpoint
,
unsigned
char
*
Options
,
unsigned
char
*
*
StringBinding
)
{
DWORD
len
=
1
;
LPSTR
data
;
...
...
@@ -658,9 +658,9 @@ RPC_STATUS WINAPI RpcStringBindingComposeW( LPWSTR ObjUuid, LPWSTR Protseq,
/***********************************************************************
* RpcStringBindingParseA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcStringBindingParseA
(
LPSTR
StringBinding
,
LPSTR
*
ObjUuid
,
LPSTR
*
Protseq
,
LPSTR
*
NetworkAddr
,
LPSTR
*
Endpoint
,
LPSTR
*
Options
)
RPC_STATUS
WINAPI
RpcStringBindingParseA
(
unsigned
char
*
StringBinding
,
unsigned
char
*
*
ObjUuid
,
unsigned
char
**
Protseq
,
unsigned
char
*
*
NetworkAddr
,
unsigned
char
**
Endpoint
,
unsigned
char
*
*
Options
)
{
CHAR
*
data
,
*
next
;
static
const
char
ep_opt
[]
=
"endpoint="
;
...
...
@@ -892,11 +892,11 @@ RPC_STATUS WINAPI RpcBindingSetObject( RPC_BINDING_HANDLE Binding, UUID* ObjectU
/***********************************************************************
* RpcBindingFromStringBindingA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcBindingFromStringBindingA
(
LPSTR
StringBinding
,
RPC_BINDING_HANDLE
*
Binding
)
RPC_STATUS
WINAPI
RpcBindingFromStringBindingA
(
unsigned
char
*
StringBinding
,
RPC_BINDING_HANDLE
*
Binding
)
{
RPC_STATUS
ret
;
RpcBinding
*
bind
=
NULL
;
LPSTR
ObjectUuid
,
Protseq
,
NetworkAddr
,
Endpoint
,
Options
;
unsigned
char
*
ObjectUuid
,
*
Protseq
,
*
NetworkAddr
,
*
Endpoint
,
*
Options
;
UUID
Uuid
;
TRACE
(
"(%s,%p)
\n
"
,
debugstr_a
(
StringBinding
),
Binding
);
...
...
@@ -970,7 +970,7 @@ RPC_STATUS WINAPI RpcBindingFromStringBindingW( LPWSTR StringBinding, RPC_BINDIN
/***********************************************************************
* RpcBindingToStringBindingA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcBindingToStringBindingA
(
RPC_BINDING_HANDLE
Binding
,
LPSTR
*
StringBinding
)
RPC_STATUS
WINAPI
RpcBindingToStringBindingA
(
RPC_BINDING_HANDLE
Binding
,
unsigned
char
*
*
StringBinding
)
{
RPC_STATUS
ret
;
RpcBinding
*
bind
=
(
RpcBinding
*
)
Binding
;
...
...
@@ -995,7 +995,7 @@ RPC_STATUS WINAPI RpcBindingToStringBindingA( RPC_BINDING_HANDLE Binding, LPSTR*
RPC_STATUS
WINAPI
RpcBindingToStringBindingW
(
RPC_BINDING_HANDLE
Binding
,
LPWSTR
*
StringBinding
)
{
RPC_STATUS
ret
;
LPSTR
str
=
NULL
;
unsigned
char
*
str
=
NULL
;
TRACE
(
"(%p,%p)
\n
"
,
Binding
,
StringBinding
);
ret
=
RpcBindingToStringBindingA
(
Binding
,
&
str
);
*
StringBinding
=
RPCRT4_strdupAtoW
(
str
);
...
...
dlls/rpcrt4/rpc_epmap.c
View file @
7930ada8
...
...
@@ -66,8 +66,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
/***********************************************************************
* RpcEpRegisterA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcEpRegisterA
(
RPC_IF_HANDLE
IfSpec
,
PRPC_BINDING_VECTOR
BindingVector
,
PUUID_VECTOR
UuidVector
,
LPSTR
Annotation
)
RPC_STATUS
WINAPI
RpcEpRegisterA
(
RPC_IF_HANDLE
IfSpec
,
RPC_BINDING_VECTOR
*
BindingVector
,
UUID_VECTOR
*
UuidVector
,
unsigned
char
*
Annotation
)
{
RPCSS_NP_MESSAGE
msg
;
RPCSS_NP_REPLY
reply
;
...
...
@@ -139,8 +139,8 @@ RPC_STATUS WINAPI RpcEpRegisterA( RPC_IF_HANDLE IfSpec, PRPC_BINDING_VECTOR Bind
/***********************************************************************
* RpcEpUnregister (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcEpUnregister
(
RPC_IF_HANDLE
IfSpec
,
PRPC_BINDING_VECTOR
BindingVector
,
PUUID_VECTOR
UuidVector
)
RPC_STATUS
WINAPI
RpcEpUnregister
(
RPC_IF_HANDLE
IfSpec
,
RPC_BINDING_VECTOR
*
BindingVector
,
UUID_VECTOR
*
UuidVector
)
{
RPCSS_NP_MESSAGE
msg
;
RPCSS_NP_REPLY
reply
;
...
...
dlls/rpcrt4/rpc_server.c
View file @
7930ada8
...
...
@@ -612,7 +612,7 @@ RPC_STATUS WINAPI RpcServerInqBindings( RPC_BINDING_VECTOR** BindingVector )
/***********************************************************************
* RpcServerUseProtseqEpA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcServerUseProtseqEpA
(
LPSTR
Protseq
,
UINT
MaxCalls
,
LPSTR
Endpoint
,
LPVOID
SecurityDescriptor
)
RPC_STATUS
WINAPI
RpcServerUseProtseqEpA
(
unsigned
char
*
Protseq
,
UINT
MaxCalls
,
unsigned
char
*
Endpoint
,
LPVOID
SecurityDescriptor
)
{
RPC_POLICY
policy
;
...
...
@@ -646,7 +646,7 @@ RPC_STATUS WINAPI RpcServerUseProtseqEpW( LPWSTR Protseq, UINT MaxCalls, LPWSTR
/***********************************************************************
* RpcServerUseProtseqEpExA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcServerUseProtseqEpExA
(
LPSTR
Protseq
,
UINT
MaxCalls
,
LPSTR
Endpoint
,
LPVOID
SecurityDescriptor
,
RPC_STATUS
WINAPI
RpcServerUseProtseqEpExA
(
unsigned
char
*
Protseq
,
UINT
MaxCalls
,
unsigned
char
*
Endpoint
,
LPVOID
SecurityDescriptor
,
PRPC_POLICY
lpPolicy
)
{
RpcServerProtseq
*
ps
;
...
...
@@ -686,7 +686,7 @@ RPC_STATUS WINAPI RpcServerUseProtseqEpExW( LPWSTR Protseq, UINT MaxCalls, LPWST
/***********************************************************************
* RpcServerUseProtseqA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcServerUseProtseqA
(
LPSTR
Protseq
,
unsigned
int
MaxCalls
,
void
*
SecurityDescriptor
)
RPC_STATUS
WINAPI
RpcServerUseProtseqA
(
unsigned
char
*
Protseq
,
unsigned
int
MaxCalls
,
void
*
SecurityDescriptor
)
{
TRACE
(
"(Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)
\n
"
,
debugstr_a
(
Protseq
),
MaxCalls
,
SecurityDescriptor
);
return
RpcServerUseProtseqEpA
(
Protseq
,
MaxCalls
,
NULL
,
SecurityDescriptor
);
...
...
@@ -749,7 +749,6 @@ RPC_STATUS WINAPI RpcServerRegisterIf2( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid,
TRACE
(
" protseq endpoint count: %d
\n
"
,
If
->
RpcProtseqEndpointCount
);
TRACE
(
" default manager epv: %p
\n
"
,
If
->
DefaultManagerEpv
);
TRACE
(
" interpreter info: %p
\n
"
,
If
->
InterpreterInfo
);
TRACE
(
" flags: %08x
\n
"
,
If
->
Flags
);
sif
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
RpcServerInterface
));
sif
->
If
=
If
;
...
...
@@ -867,7 +866,7 @@ RPC_STATUS WINAPI RpcObjectSetType( UUID* ObjUuid, UUID* TypeUuid )
/***********************************************************************
* RpcServerRegisterAuthInfoA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcServerRegisterAuthInfoA
(
LPSTR
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
RPC_STATUS
WINAPI
RpcServerRegisterAuthInfoA
(
unsigned
char
*
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
LPVOID
Arg
)
{
FIXME
(
"(%s,%lu,%p,%p): stub
\n
"
,
ServerPrincName
,
AuthnSvc
,
GetKeyFn
,
Arg
);
...
...
include/rpcdce.h
View file @
7930ada8
...
...
@@ -118,13 +118,13 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
RpcObjectSetType
(
UUID
*
ObjUuid
,
UUID
*
TypeUuid
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingFromStringBindingA
(
LPSTR
StringBinding
,
RPC_BINDING_HANDLE
*
Binding
);
RpcBindingFromStringBindingA
(
unsigned
char
*
StringBinding
,
RPC_BINDING_HANDLE
*
Binding
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingFromStringBindingW
(
LPWSTR
StringBinding
,
RPC_BINDING_HANDLE
*
Binding
);
#define RpcBindingFromStringBinding WINELIB_NAME_AW(RpcBindingFromStringBinding)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingToStringBindingA
(
RPC_BINDING_HANDLE
Binding
,
LPSTR
*
StringBinding
);
RpcBindingToStringBindingA
(
RPC_BINDING_HANDLE
Binding
,
unsigned
char
**
StringBinding
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingToStringBindingW
(
RPC_BINDING_HANDLE
Binding
,
LPWSTR
*
StringBinding
);
#define RpcBindingFromStringBinding WINELIB_NAME_AW(RpcBindingFromStringBinding)
...
...
@@ -133,16 +133,16 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingVectorFree
(
RPC_BINDING_VECTOR
**
BindingVector
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcStringBindingComposeA
(
LPSTR
ObjUuid
,
LPSTR
Protseq
,
LPSTR
NetworkAddr
,
LPSTR
Endpoint
,
LPSTR
Options
,
LPSTR
*
StringBinding
);
RpcStringBindingComposeA
(
unsigned
char
*
ObjUuid
,
unsigned
char
*
Protseq
,
unsigned
char
*
NetworkAddr
,
unsigned
char
*
Endpoint
,
unsigned
char
*
Options
,
unsigned
char
**
StringBinding
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcStringBindingComposeW
(
LPWSTR
ObjUuid
,
LPWSTR
Protseq
,
LPWSTR
NetworkAddr
,
LPWSTR
Endpoint
,
LPWSTR
Options
,
LPWSTR
*
StringBinding
);
#define RpcStringBindingCompose WINELIB_NAME_AW(RpcStringBindingCompose)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcStringBindingParseA
(
LPSTR
StringBinding
,
LPSTR
*
ObjUuid
,
LPSTR
*
Protseq
,
LPSTR
*
NetworkAddr
,
LPSTR
*
Endpoint
,
LPSTR
*
NetworkOptions
);
RpcStringBindingParseA
(
unsigned
char
*
StringBinding
,
unsigned
char
**
ObjUuid
,
unsigned
char
**
Protseq
,
unsigned
char
**
NetworkAddr
,
unsigned
char
**
Endpoint
,
unsigned
char
**
NetworkOptions
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcStringBindingParseW
(
LPWSTR
StringBinding
,
LPWSTR
*
ObjUuid
,
LPWSTR
*
Protseq
,
LPWSTR
*
NetworkAddr
,
LPWSTR
*
Endpoint
,
LPWSTR
*
NetworkOptions
);
...
...
@@ -153,7 +153,7 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcEpRegisterA
(
RPC_IF_HANDLE
IfSpec
,
PRPC_BINDING_VECTOR
BindingVector
,
PUUID_VECTOR
UuidVector
,
LPSTR
Annotation
);
PUUID_VECTOR
UuidVector
,
unsigned
char
*
Annotation
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcEpRegisterW
(
RPC_IF_HANDLE
IfSpec
,
PRPC_BINDING_VECTOR
BindingVector
,
PUUID_VECTOR
UuidVector
,
LPWSTR
Annotation
);
...
...
@@ -161,7 +161,7 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcEpRegisterNoReplaceA
(
RPC_IF_HANDLE
IfSpec
,
RPC_BINDING_VECTOR
*
BindingVector
,
UUID_VECTOR
*
UuidVector
,
LPSTR
Annotation
);
UUID_VECTOR
*
UuidVector
,
unsigned
char
*
Annotation
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcEpRegisterNoReplaceW
(
RPC_IF_HANDLE
IfSpec
,
RPC_BINDING_VECTOR
*
BindingVector
,
UUID_VECTOR
*
UuidVector
,
LPWSTR
Annotation
);
...
...
@@ -202,19 +202,19 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerUseProtseqA
(
LPSTR
Protseq
,
unsigned
int
MaxCalls
,
void
*
SecurityDescriptor
);
RpcServerUseProtseqA
(
unsigned
char
*
Protseq
,
unsigned
int
MaxCalls
,
void
*
SecurityDescriptor
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerUseProtseqW
(
LPWSTR
Protseq
,
unsigned
int
MaxCalls
,
void
*
SecurityDescriptor
);
#define RpcServerUseProtseq WINELIB_NAME_AW(RpcServerUseProtseq)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerUseProtseqEpA
(
LPSTR
Protseq
,
UINT
MaxCalls
,
LPSTR
Endpoint
,
LPVOID
SecurityDescriptor
);
RpcServerUseProtseqEpA
(
unsigned
char
*
Protseq
,
UINT
MaxCalls
,
unsigned
char
*
Endpoint
,
LPVOID
SecurityDescriptor
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerUseProtseqEpW
(
LPWSTR
Protseq
,
UINT
MaxCalls
,
LPWSTR
Endpoint
,
LPVOID
SecurityDescriptor
);
#define RpcServerUseProtseqEp WINELIB_NAME_AW(RpcServerUseProtseqEp)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerUseProtseqEpExA
(
LPSTR
Protseq
,
UINT
MaxCalls
,
LPSTR
Endpoint
,
LPVOID
SecurityDescriptor
,
RpcServerUseProtseqEpExA
(
unsigned
char
*
Protseq
,
UINT
MaxCalls
,
unsigned
char
*
Endpoint
,
LPVOID
SecurityDescriptor
,
PRPC_POLICY
Policy
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerUseProtseqEpExW
(
LPWSTR
Protseq
,
UINT
MaxCalls
,
LPWSTR
Endpoint
,
LPVOID
SecurityDescriptor
,
...
...
@@ -222,7 +222,7 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
#define RpcServerUseProtseqEpEx WINELIB_NAME_AW(RpcServerUseProtseqEpEx)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerRegisterAuthInfoA
(
LPSTR
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
RpcServerRegisterAuthInfoA
(
unsigned
char
*
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
LPVOID
Arg
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerRegisterAuthInfoW
(
LPWSTR
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
...
...
@@ -230,8 +230,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
#define RpcServerRegisterAuthInfo WINELIB_NAME_AW(RpcServerRegisterAuthInfo)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcStringBindingComposeA
(
LPSTR
ObjUuid
,
LPSTR
Protseq
,
LPSTR
NetworkAddr
,
LPSTR
Endpoint
,
LPSTR
Options
,
LPSTR
*
StringBinding
);
RpcStringBindingComposeA
(
unsigned
char
*
ObjUuid
,
unsigned
char
*
Protseq
,
unsigned
char
*
NetworkAddr
,
unsigned
char
*
Endpoint
,
unsigned
char
*
Options
,
unsigned
char
**
StringBinding
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcStringBindingComposeW
(
LPWSTR
ObjUuid
,
LPWSTR
Protseq
,
LPWSTR
NetworkAddr
,
LPWSTR
Endpoint
,
LPWSTR
Options
,
LPWSTR
*
StringBinding
);
...
...
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