From 8ce2133e2c5ce70a3802ca163ce4e857726d64ae Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 18 Feb 2005 23:06:13 +0000 Subject: r5450: Add test function for "embedded" conformant arrays (This used to be commit 900477226ddd0644626827d66cd45624f02b636b) --- source4/librpc/idl/echo.idl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/echo.idl b/source4/librpc/idl/echo.idl index e563dc41c8..c0a6943898 100644 --- a/source4/librpc/idl/echo.idl +++ b/source4/librpc/idl/echo.idl @@ -119,4 +119,13 @@ interface rpcecho [in,out,ref] echo_Enum2 *foo2, [in,out,ref,switch_is(*foo1)] echo_Enum3 *foo3 ); + + typedef struct { + uint32 x; + [size_is(x)] uint16 surrounding[*]; + } echo_Surrounding; + + void echo_TestSurrounding( + [in,out,ref] echo_Surrounding *data + ); } -- cgit