r6018: Add idl and server side for Test_Surrounding
[samba.git] / testprogs / win32 / rpcecho / server.c
index 112eb24206adecca9251d1ca0fefea9fe8408672..888199db3d2604a3319d56e2598460164dbf7b10 100644 (file)
@@ -133,6 +133,12 @@ void echo_TestEnum(echo_Enum1 *foo1,
        foo2->e1 = ECHO_ENUM2;
 }
 
+void echo_TestSurrounding(echo_Surrounding *data)
+{
+       printf("Incoming array of size %d\n", data->x);
+       data->x *= 2;
+}
+
 void main(int argc, char **argv)
 {
        RPC_STATUS status;