summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/echo.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-14 07:20:46 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-14 07:20:46 +0000
commite8a3825ebc4dfe55581b980507384153b99f534d (patch)
treeebf5793643e9480956b345e93c395f9e5f8b3282 /source4/librpc/idl/echo.idl
parent5b7f049829ec86f2ee50f6ba6443fa349aba84c2 (diff)
downloadsamba-e8a3825ebc4dfe55581b980507384153b99f534d.tar.gz
samba-e8a3825ebc4dfe55581b980507384153b99f534d.tar.bz2
samba-e8a3825ebc4dfe55581b980507384153b99f534d.zip
we can now do a level1 NetDfsEnum()
(This used to be commit f32641f73f7ff12b797378b3b533603ff1d526b5)
Diffstat (limited to 'source4/librpc/idl/echo.idl')
-rw-r--r--source4/librpc/idl/echo.idl23
1 files changed, 17 insertions, 6 deletions
diff --git a/source4/librpc/idl/echo.idl b/source4/librpc/idl/echo.idl
index af6cb567d7..f7c65485f8 100644
--- a/source4/librpc/idl/echo.idl
+++ b/source4/librpc/idl/echo.idl
@@ -25,16 +25,27 @@ interface rpcecho
[out,ref,size_is(len)] uint8 *data
);
-#define long uint32
+#define int uint32
typedef struct {
- long bar;
- long count;
- long foo;
- [size_is(count)] long s[*];
+ int *count;
+ } echo_Enum1;
+
+ typedef struct {
+ int *count;
+ } echo_Enum3;
+
+ typedef union {
+ [case(1)] echo_Enum1 enum1;
+ [case(3)] echo_Enum3 enum3;
+ } echo_EnumInfo;
+
+ typedef struct {
+ int level;
+ [switch_is(level)] echo_EnumInfo e;
} Struct1;
void TestCall (
- [out] Struct1 **s1
+ [out] Struct1 *s1
);
}