summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/echo.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-13 09:26:53 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-13 09:26:53 +0000
commit3031937d56363cc6322062a66c991182664f40bc (patch)
tree4d2ef00a8f2e269fdefeccc04f6ae2db9dd45d63 /source4/librpc/idl/echo.idl
parentff02537261e53b4ec60e5dcad32bf4207065b028 (diff)
downloadsamba-3031937d56363cc6322062a66c991182664f40bc.tar.gz
samba-3031937d56363cc6322062a66c991182664f40bc.tar.bz2
samba-3031937d56363cc6322062a66c991182664f40bc.zip
* fixed conformant arrays in structures
* expanded the rpcecho test * started adding the NETDFS pipe (This used to be commit 095ab42cbdd5c1c5ab753e2eb275742ba822c8b9)
Diffstat (limited to 'source4/librpc/idl/echo.idl')
-rw-r--r--source4/librpc/idl/echo.idl16
1 files changed, 15 insertions, 1 deletions
diff --git a/source4/librpc/idl/echo.idl b/source4/librpc/idl/echo.idl
index e366d7931a..af6cb567d7 100644
--- a/source4/librpc/idl/echo.idl
+++ b/source4/librpc/idl/echo.idl
@@ -11,7 +11,8 @@ interface rpcecho
/* Echo an array of bytes back at the caller */
void echo_EchoData(
[in] uint32 len,
- [in,out,ref,size_is(len)] uint8 *data
+ [in] [size_is(len)] uint8 in_data[],
+ [out] [size_is(len)] uint8 out_data[]
);
/* Sink data to the server */
void echo_SinkData(
@@ -23,4 +24,17 @@ interface rpcecho
[in] uint32 len,
[out,ref,size_is(len)] uint8 *data
);
+
+#define long uint32
+
+ typedef struct {
+ long bar;
+ long count;
+ long foo;
+ [size_is(count)] long s[*];
+ } Struct1;
+
+ void TestCall (
+ [out] Struct1 **s1
+ );
}