summaryrefslogtreecommitdiff
path: root/source3/librpc/idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-17 13:16:27 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-17 15:57:52 +0100
commitaf3ff75e1f9cc459c1ad4ce22dce8149d01b3eaa (patch)
tree06d2bdd2e5fc9e92477452ccd6caa851818b7888 /source3/librpc/idl
parent5e86ac9e6d2eb7ff0f6f8461dcfc230e2d87c42c (diff)
downloadsamba-af3ff75e1f9cc459c1ad4ce22dce8149d01b3eaa.tar.gz
samba-af3ff75e1f9cc459c1ad4ce22dce8149d01b3eaa.tar.bz2
samba-af3ff75e1f9cc459c1ad4ce22dce8149d01b3eaa.zip
idl: Update initshutdown and echo IDL from Samba 4.
(This used to be commit 35d71a40b385a62b8c85ed68e64b6d38d80aeb3c)
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r--source3/librpc/idl/echo.idl8
-rw-r--r--source3/librpc/idl/initshutdown.idl4
2 files changed, 6 insertions, 6 deletions
diff --git a/source3/librpc/idl/echo.idl b/source3/librpc/idl/echo.idl
index fa030be761..5ea37f1ac1 100644
--- a/source3/librpc/idl/echo.idl
+++ b/source3/librpc/idl/echo.idl
@@ -50,9 +50,9 @@ interface rpcecho
uint32 v;
} echo_info3;
- typedef struct {
+ struct echo_info4 {
hyper v;
- } echo_info4;
+ };
typedef struct {
uint8 v1;
@@ -66,14 +66,14 @@ interface rpcecho
typedef struct {
uint8 v1;
- echo_info4 info4;
+ struct echo_info4 info4;
} echo_info7;
typedef [switch_type(uint16)] union {
[case(1)] echo_info1 info1;
[case(2)] echo_info2 info2;
[case(3)] echo_info3 info3;
- [case(4)] echo_info4 info4;
+ [case(4)] struct echo_info4 info4;
[case(5)] echo_info5 info5;
[case(6)] echo_info6 info6;
[case(7)] echo_info7 info7;
diff --git a/source3/librpc/idl/initshutdown.idl b/source3/librpc/idl/initshutdown.idl
index 50d49637c2..868e48e28a 100644
--- a/source3/librpc/idl/initshutdown.idl
+++ b/source3/librpc/idl/initshutdown.idl
@@ -18,8 +18,8 @@
} initshutdown_String_sub;
typedef [public] struct {
- [value(strlen_m(r->name->name)*2)] uint16 name_len;
- [value(strlen_m_term(r->name->name)*2)] uint16 name_size;
+ [value(strlen_m(name->name)*2)] uint16 name_len;
+ [value(strlen_m_term(name->name)*2)] uint16 name_size;
initshutdown_String_sub *name;
} initshutdown_String;