summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_echo.h
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/ndr/ndr_echo.h
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/ndr/ndr_echo.h')
-rw-r--r--source4/librpc/ndr/ndr_echo.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/source4/librpc/ndr/ndr_echo.h b/source4/librpc/ndr/ndr_echo.h
index b2c6774c09..5edc4241a6 100644
--- a/source4/librpc/ndr/ndr_echo.h
+++ b/source4/librpc/ndr/ndr_echo.h
@@ -45,11 +45,22 @@ struct echo_SourceData {
};
+struct echo_Enum1 {
+ uint32 *count;
+};
+
+struct echo_Enum3 {
+ uint32 *count;
+};
+
+union echo_EnumInfo {
+/* [case(1)] */ struct echo_Enum1 enum1;
+/* [case(3)] */ struct echo_Enum3 enum3;
+};
+
struct Struct1 {
- uint32 bar;
- uint32 count;
- uint32 foo;
- uint32 *s;
+ uint32 level;
+ union echo_EnumInfo e;
};
struct TestCall {
@@ -57,7 +68,7 @@ struct TestCall {
} in;
struct {
- struct Struct1 **s1;
+ struct Struct1 *s1;
} out;
};