diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-02-18 23:06:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:10:47 -0500 |
commit | 8ce2133e2c5ce70a3802ca163ce4e857726d64ae (patch) | |
tree | 0d8f3bd060addcd78bc8599c8b86856dcb209696 /source4/librpc/idl | |
parent | d909237a85356272be3425ab80688d52d3c1cbae (diff) | |
download | samba-8ce2133e2c5ce70a3802ca163ce4e857726d64ae.tar.gz samba-8ce2133e2c5ce70a3802ca163ce4e857726d64ae.tar.bz2 samba-8ce2133e2c5ce70a3802ca163ce4e857726d64ae.zip |
r5450: Add test function for "embedded" conformant arrays
(This used to be commit 900477226ddd0644626827d66cd45624f02b636b)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/echo.idl | 9 |
1 files changed, 9 insertions, 0 deletions
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 + ); } |