RPC Merge (E_PL11)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



LICENSE: X11

CHANGELOG:

* dlls/rpcrt4: ndr_stubless.c, rpc_server.c, rpc_binding.c: 
  Greg Turner <gmturner007@ameritech.net>
- ClientCall2 still deserves a FIXME
- Complete bindings with NULL endpoints
- implement RpcServerUseProtseqA, RpcServerUseProtseqW

-- 
gmt

"Oh, and of course, the fastest way to dig
 a tunnel is to dig at both sides."
   -- The Linux Advanced Routing HOWTO
diff -urx CVS -x configure -x Makefile -x '*.o' -x config.log -x '*.so' -x '*.s' -x '*.rc' -x tags -x '*.a' -x '*.ok' -x '*.swp' -x '*.E_PL*' -x '*~' -x '*.so.*' ../wine.test/dlls/rpcrt4/ndr_stubless.c ./dlls/rpcrt4/ndr_stubless.c
--- ../wine.test/dlls/rpcrt4/ndr_stubless.c	2002-10-19 02:10:27.000000000 -0500
+++ ./dlls/rpcrt4/ndr_stubless.c	2002-10-19 16:10:52.000000000 -0500
@@ -49,7 +49,7 @@
   RPC_MESSAGE rpcmsg;
   MIDL_STUB_MESSAGE stubmsg;
 
-  TRACE("(pStubDec == ^%p,pFormat = ^%p,...): semi-stub\n", pStubDesc, pFormat);
+  FIXME("(pStubDec == ^%p,pFormat = ^%p,...): semi-stub\n", pStubDesc, pFormat);
   if (rpc_cli_if) /* NULL for objects */ {
     TRACE("  *rpc_cli_if (== ^%p) == (RPC_CLIENT_INTERFACE):\n", pStubDesc);
     TRACE("    Length == %d\n", rpc_cli_if->Length);
diff -urx CVS -x configure -x Makefile -x '*.o' -x config.log -x '*.so' -x '*.s' -x '*.rc' -x tags -x '*.a' -x '*.ok' -x '*.swp' -x '*.E_PL*' -x '*~' -x '*.so.*' ../wine.test/dlls/rpcrt4/rpc_binding.c ./dlls/rpcrt4/rpc_binding.c
--- ../wine.test/dlls/rpcrt4/rpc_binding.c	2002-10-17 22:56:57.000000000 -0500
+++ ./dlls/rpcrt4/rpc_binding.c	2002-10-19 15:43:14.000000000 -0500
@@ -136,7 +136,11 @@
   RPCRT4_strfree(Binding->NetworkAddr);
   Binding->NetworkAddr = RPCRT4_strdupA(NetworkAddr);
   RPCRT4_strfree(Binding->Endpoint);
-  Binding->Endpoint = RPCRT4_strdupA(Endpoint);
+  if (Binding->Endpoint) {
+    Binding->Endpoint = RPCRT4_strdupA(Endpoint);
+  } else {
+    Binding->Endpoint = RPCRT4_strdupA("");
+  }
 
   return RPC_S_OK;
 }
@@ -150,7 +154,11 @@
   RPCRT4_strfree(Binding->NetworkAddr);
   Binding->NetworkAddr = RPCRT4_strdupWtoA(NetworkAddr);
   RPCRT4_strfree(Binding->Endpoint);
-  Binding->Endpoint = RPCRT4_strdupWtoA(Endpoint);
+  if (Binding->Endpoint) {
+    Binding->Endpoint = RPCRT4_strdupWtoA(Endpoint);
+  } else {
+    Binding->Endpoint = RPCRT4_strdupA("");
+  }
 
   return RPC_S_OK;
 }
diff -urx CVS -x configure -x Makefile -x '*.o' -x config.log -x '*.so' -x '*.s' -x '*.rc' -x tags -x '*.a' -x '*.ok' -x '*.swp' -x '*.E_PL*' -x '*~' -x '*.so.*' ../wine.test/dlls/rpcrt4/rpc_server.c ./dlls/rpcrt4/rpc_server.c
--- ../wine.test/dlls/rpcrt4/rpc_server.c	2002-10-19 05:39:57.000000000 -0500
+++ ./dlls/rpcrt4/rpc_server.c	2002-10-19 16:21:55.000000000 -0500
@@ -440,8 +440,8 @@
  */
 RPC_STATUS WINAPI RpcServerUseProtseqA(LPSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor)
 {
-  FIXME("stub\n");
-  return RPC_S_OK;
+  TRACE("(Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)", debugstr_a(Protseq), MaxCalls, SecurityDescriptor);
+  return RpcServerUseProtseqEpA(Protseq, MaxCalls, NULL, SecurityDescriptor);
 }
 
 /***********************************************************************
@@ -449,8 +449,8 @@
  */
 RPC_STATUS WINAPI RpcServerUseProtseqW(LPWSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor)
 {
-  FIXME("stub\n");
-  return RPC_S_OK;
+  TRACE("Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)", debugstr_w(Protseq), MaxCalls, SecurityDescriptor);
+  return RpcServerUseProtseqEpW(Protseq, MaxCalls, NULL, SecurityDescriptor);
 }
 
 /***********************************************************************

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux