RpcNetworkIsProtseqValid

Filip Navara xnavara at volny.cz
Tue Apr 13 15:25:17 CDT 2004


Fix the case of RpcNetworkIsProtseqValid[AW] (was 
RpcNetworkIsProtSeqValid[AW]) names.

- Filip
-------------- next part --------------
--- include/rpcdce.h	Tue Apr 13 20:19:36 2004
+++ include/rpcdce.h	Tue Apr 13 20:19:46 2004
@@ -238,10 +238,10 @@
 #define RpcStringBindingCompose WINELIB_NAME_AW(RpcStringBindingCompose)
 
 RPCRTAPI RPC_STATUS RPC_ENTRY
-  RpcNetworkIsProtSeqValidA( unsigned char *protseq );
+  RpcNetworkIsProtseqValidA( unsigned char *protseq );
 RPCRTAPI RPC_STATUS RPC_ENTRY
-  RpcNetworkIsProtSeqValidW( LPWSTR protseq );
-#define RpcNetworkIsProtSeqValid WINELIB_NAME_AW(RpcNetworkIsProtSeqValid)
+  RpcNetworkIsProtseqValidW( LPWSTR protseq );
+#define RpcNetworkIsProtseqValid WINELIB_NAME_AW(RpcNetworkIsProtseqValid)
 
 RPCRTAPI RPC_STATUS RPC_ENTRY
   RpcStringFreeA(unsigned char** String);
--- dlls/rpcrt4/rpcrt4.spec	Tue Apr 13 20:16:34 2004
+++ dlls/rpcrt4/rpcrt4.spec	Tue Apr 13 20:20:56 2004
@@ -100,8 +100,8 @@
 @ stdcall RpcMgmtWaitServerListen()
 @ stub RpcNetworkInqProtseqsA
 @ stub RpcNetworkInqProtseqsW
-@ stub RpcNetworkIsProtseqValidA
-@ stub RpcNetworkIsProtseqValidW
+@ stdcall RpcNetworkIsProtseqValidA(ptr)
+@ stdcall RpcNetworkIsProtseqValidW(ptr)
 @ stub RpcNsBindingInqEntryNameA
 @ stub RpcNsBindingInqEntryNameW
 @ stub RpcObjectInqType
--- dlls/rpcrt4/rpc_binding.c	Fri Feb 27 04:33:42 2004
+++ dlls/rpcrt4/rpc_binding.c	Tue Apr 13 20:15:54 2004
@@ -1021,22 +1021,22 @@
 }
 
 /***********************************************************************
- *             RpcNetworkIsProtSeqValidA (RPCRT4.@)
+ *             RpcNetworkIsProtseqValidA (RPCRT4.@)
  */
-RPC_STATUS RPC_ENTRY RpcNetworkIsProtSeqValidA(unsigned char *protseq) {
+RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidA(unsigned char *protseq) {
   UNICODE_STRING protseqW;
 
   if (!protseq) return RPC_S_INVALID_RPC_PROTSEQ; /* ? */
   
   if (RtlCreateUnicodeStringFromAsciiz(&protseqW, protseq)) {
-    RPC_STATUS ret = RpcNetworkIsProtSeqValidW(protseqW.Buffer);
+    RPC_STATUS ret = RpcNetworkIsProtseqValidW(protseqW.Buffer);
     RtlFreeUnicodeString(&protseqW);
     return ret;
   } else return RPC_S_OUT_OF_MEMORY;
 }
 
 /***********************************************************************
- *             RpcNetworkIsProtSeqValidW (RPCRT4.@)
+ *             RpcNetworkIsProtseqValidW (RPCRT4.@)
  * 
  * Checks if the given protocol sequence is known by the RPC system.
  * If it is, returns RPC_S_OK, otherwise RPC_S_PROTSEQ_NOT_SUPPORTED.
@@ -1045,7 +1045,7 @@
  *   ncalrpc   local-only rpc over LPC (LPC is not really used)
  *   ncacn_np  rpc over named pipes
  */
-RPC_STATUS RPC_ENTRY RpcNetworkIsProtSeqValidW(LPWSTR protseq) {
+RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidW(LPWSTR protseq) {
   static const WCHAR protseqsW[][15] = { 
     {'n','c','a','l','r','p','c',0},
     {'n','c','a','c','n','_','n','p',0}


More information about the wine-patches mailing list