r6019: Add IDL and server side code for Test_DoublePointer
[ira/wip.git] / testprogs / win32 / rpcecho / server.c
index 888199db3d2604a3319d56e2598460164dbf7b10..17b13f0013d743fa6ebd3f1485373a0b9ba04719 100644 (file)
@@ -139,6 +139,18 @@ void echo_TestSurrounding(echo_Surrounding *data)
        data->x *= 2;
 }
 
+short echo_TestDoublePointer(short ***data)
+{
+       if (!*data) {
+               return 0;
+       }
+       if (!**data) {
+               return 0;
+       }
+       printf("Incoming double pointer: %d\n", ***data);
+       return ***data;
+}
+
 void main(int argc, char **argv)
 {
        RPC_STATUS status;