summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/echo.idl
diff options
context:
space:
mode:
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
+ );
}