testprogs/win32/rpcecho-win32-pipe/
authorStefan Metzmacher <metze@samba.org>
Fri, 20 Sep 2013 17:26:33 +0000 (19:26 +0200)
committerMatthieu Patou <mat@matws.net>
Fri, 3 Oct 2014 19:16:39 +0000 (12:16 -0700)
testprogs/win32/rpcecho-win32-pipe/rpcecho.h [changed mode: 0755->0644]
testprogs/win32/rpcecho-win32-pipe/rpcecho.idl
testprogs/win32/rpcecho-win32-pipe/rpcecho_c.c [changed mode: 0755->0644]
testprogs/win32/rpcecho-win32-pipe/rpcecho_s.c [changed mode: 0755->0644]
testprogs/win32/rpcecho-win32-pipe/server.c

old mode 100755 (executable)
new mode 100644 (file)
index 9424417..a94b24d
@@ -4,7 +4,7 @@
 
 
  /* File created by MIDL compiler version 7.00.0555 */
-/* at Fri Sep 20 16:20:52 2013
+/* at Fri Sep 20 18:05:28 2013
  */
 /* Compiler settings for rpcecho.idl, rpcecho.acf:
     Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
@@ -219,8 +219,8 @@ typedef struct pipe_BYTE_PIPE
 extern handle_t rpcecho_IfHandle;
 
 
-extern RPC_IF_HANDLE rpcecho_v4_0_c_ifspec;
-extern RPC_IF_HANDLE rpcecho_v4_0_s_ifspec;
+extern RPC_IF_HANDLE rpcecho_v1_0_c_ifspec;
+extern RPC_IF_HANDLE rpcecho_v1_0_s_ifspec;
 #endif /* __rpcecho_INTERFACE_DEFINED__ */
 
 /* Additional Prototypes for ALL interfaces */
index e588c13511def393bda51ed4e88e0cdf42faf0fa..b147514f58b35dc32afa59100ddc5c08ba79fe7c 100755 (executable)
 */
 
 [
-/*uuid(60a15ec5-4de8-11d7-a637-005056a20182),
-version(1.0)*/
-  uuid("e3514235-4b06-11d1-ab04-00c04fc2dcd2"),
+uuid(60a15ec5-4de8-11d7-a637-005056a20182),
+version(1.0),
+/*  uuid("e3514235-4b06-11d1-ab04-00c04fc2dcd2"),
   version(4.0),
-  pointer_default(unique)
+*/  pointer_default(unique)
 ]
 interface rpcecho
 {
old mode 100755 (executable)
new mode 100644 (file)
index 39fc942..7d8728d
@@ -4,7 +4,7 @@
 
 
  /* File created by MIDL compiler version 7.00.0555 */
-/* at Fri Sep 20 16:20:52 2013
+/* at Fri Sep 20 18:05:28 2013
  */
 /* Compiler settings for rpcecho.idl, rpcecho.acf:
     Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
@@ -71,8 +71,8 @@ extern const rpcecho_MIDL_EXPR_FORMAT_STRING rpcecho__MIDL_ExprFormatString;
 #define GENERIC_BINDING_TABLE_SIZE   0
 
 
-/* Standard interface: rpcecho, ver. 4.0,
-   GUID={0xe3514235,0x4b06,0x11d1,{0xab,0x04,0x00,0xc0,0x4f,0xc2,0xdc,0xd2}} */
+/* Standard interface: rpcecho, ver. 1.0,
+   GUID={0x60a15ec5,0x4de8,0x11d7,{0xa6,0x37,0x00,0x50,0x56,0xa2,0x01,0x82}} */
 
 handle_t rpcecho_IfHandle;
 
@@ -80,7 +80,7 @@ handle_t rpcecho_IfHandle;
 static const RPC_CLIENT_INTERFACE rpcecho___RpcClientInterface =
     {
     sizeof(RPC_CLIENT_INTERFACE),
-    {{0xe3514235,0x4b06,0x11d1,{0xab,0x04,0x00,0xc0,0x4f,0xc2,0xdc,0xd2}},{4,0}},
+    {{0x60a15ec5,0x4de8,0x11d7,{0xa6,0x37,0x00,0x50,0x56,0xa2,0x01,0x82}},{1,0}},
     {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
     0,
     0,
@@ -89,7 +89,7 @@ static const RPC_CLIENT_INTERFACE rpcecho___RpcClientInterface =
     0,
     0x00000001
     };
-RPC_IF_HANDLE rpcecho_v4_0_c_ifspec = (RPC_IF_HANDLE)& rpcecho___RpcClientInterface;
+RPC_IF_HANDLE rpcecho_v1_0_c_ifspec = (RPC_IF_HANDLE)& rpcecho___RpcClientInterface;
 
 extern const MIDL_STUB_DESC rpcecho_StubDesc;
 
old mode 100755 (executable)
new mode 100644 (file)
index e49be81..c38c59f
@@ -4,7 +4,7 @@
 
 
  /* File created by MIDL compiler version 7.00.0555 */
-/* at Fri Sep 20 16:20:52 2013
+/* at Fri Sep 20 18:05:28 2013
  */
 /* Compiler settings for rpcecho.idl, rpcecho.acf:
     Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
@@ -66,27 +66,27 @@ extern const rpcecho_MIDL_TYPE_FORMAT_STRING rpcecho__MIDL_TypeFormatString;
 extern const rpcecho_MIDL_PROC_FORMAT_STRING rpcecho__MIDL_ProcFormatString;
 extern const rpcecho_MIDL_EXPR_FORMAT_STRING rpcecho__MIDL_ExprFormatString;
 
-/* Standard interface: rpcecho, ver. 4.0,
-   GUID={0xe3514235,0x4b06,0x11d1,{0xab,0x04,0x00,0xc0,0x4f,0xc2,0xdc,0xd2}} */
+/* Standard interface: rpcecho, ver. 1.0,
+   GUID={0x60a15ec5,0x4de8,0x11d7,{0xa6,0x37,0x00,0x50,0x56,0xa2,0x01,0x82}} */
 
 
 extern const MIDL_SERVER_INFO rpcecho_ServerInfo;
 
-extern const RPC_DISPATCH_TABLE rpcecho_v4_0_DispatchTable;
+extern const RPC_DISPATCH_TABLE rpcecho_v1_0_DispatchTable;
 
 static const RPC_SERVER_INTERFACE rpcecho___RpcServerInterface =
     {
     sizeof(RPC_SERVER_INTERFACE),
-    {{0xe3514235,0x4b06,0x11d1,{0xab,0x04,0x00,0xc0,0x4f,0xc2,0xdc,0xd2}},{4,0}},
+    {{0x60a15ec5,0x4de8,0x11d7,{0xa6,0x37,0x00,0x50,0x56,0xa2,0x01,0x82}},{1,0}},
     {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
-    (RPC_DISPATCH_TABLE*)&rpcecho_v4_0_DispatchTable,
+    (RPC_DISPATCH_TABLE*)&rpcecho_v1_0_DispatchTable,
     0,
     0,
     0,
     &rpcecho_ServerInfo,
     0x04000001
     };
-RPC_IF_HANDLE rpcecho_v4_0_s_ifspec = (RPC_IF_HANDLE)& rpcecho___RpcServerInterface;
+RPC_IF_HANDLE rpcecho_v1_0_s_ifspec = (RPC_IF_HANDLE)& rpcecho___RpcServerInterface;
 
 extern const MIDL_STUB_DESC rpcecho_StubDesc;
 
@@ -709,7 +709,7 @@ static const RPC_DISPATCH_FUNCTION rpcecho_table[] =
     NdrAsyncServerCall,
     0
     };
-static const RPC_DISPATCH_TABLE rpcecho_v4_0_DispatchTable =
+static const RPC_DISPATCH_TABLE rpcecho_v1_0_DispatchTable =
     {
     11,
     (RPC_DISPATCH_FUNCTION*)rpcecho_table
index b208e02298e7032f53d57f0b3fdb47bc05d5b118..2ce56e90ad6d0d0727132158c6afafb76da8c74e 100755 (executable)
@@ -152,7 +152,7 @@ void TestBytePipeIn(
        ASYNC_BYTE_PIPE *in_pipe)
 {
        long ret;
-       byte in_bytes[2500];
+       byte in_bytes[0x80000];
        int bytes_count;
 
        printf("TestBytePipeIn: Start\n");
@@ -202,13 +202,13 @@ void main(int argc, char **argv)
                exit(status);
        }
 
-       status = RpcEpRegister(rpcecho_v4_0_s_ifspec, pBindingVector, NULL, "rpcecho server");
+       status = RpcEpRegister(rpcecho_v1_0_s_ifspec, pBindingVector, NULL, "rpcecho server");
        if (status) {
                printf("Failed RpcEpRegister\n");
                exit(status);
        }
 
-       status = RpcServerRegisterIf(rpcecho_v4_0_s_ifspec, NULL, NULL);
+       status = RpcServerRegisterIf(rpcecho_v1_0_s_ifspec, NULL, NULL);
 
        if (status) {
                printf("Failed to register interface\n");