svn commit: samba r6019 - in
branches/SAMBA_4_0/testprogs/win32/rpcecho: .
jelmer at samba.org
jelmer at samba.org
Thu Mar 24 00:58:52 GMT 2005
Author: jelmer
Date: 2005-03-24 00:58:52 +0000 (Thu, 24 Mar 2005)
New Revision: 6019
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6019
Log:
Add IDL and server side code for Test_DoublePointer
Modified:
branches/SAMBA_4_0/testprogs/win32/rpcecho/rpcecho.idl
branches/SAMBA_4_0/testprogs/win32/rpcecho/server.c
Changeset:
Modified: branches/SAMBA_4_0/testprogs/win32/rpcecho/rpcecho.idl
===================================================================
--- branches/SAMBA_4_0/testprogs/win32/rpcecho/rpcecho.idl 2005-03-24 00:56:53 UTC (rev 6018)
+++ branches/SAMBA_4_0/testprogs/win32/rpcecho/rpcecho.idl 2005-03-24 00:58:52 UTC (rev 6019)
@@ -146,4 +146,6 @@
void echo_TestSurrounding(
[in,out,ref] echo_Surrounding *data
);
+
+ uint16 echo_TestDoublePointer([in] uint16 ***data);
}
Modified: branches/SAMBA_4_0/testprogs/win32/rpcecho/server.c
===================================================================
--- branches/SAMBA_4_0/testprogs/win32/rpcecho/server.c 2005-03-24 00:56:53 UTC (rev 6018)
+++ branches/SAMBA_4_0/testprogs/win32/rpcecho/server.c 2005-03-24 00:58:52 UTC (rev 6019)
@@ -139,6 +139,18 @@
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;
More information about the samba-cvs
mailing list