summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_echo.h
diff options
context:
space:
mode:
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;
};