summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/irpc.idl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/idl/irpc.idl')
-rw-r--r--source4/librpc/idl/irpc.idl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/idl/irpc.idl b/source4/librpc/idl/irpc.idl
index eb3d159c7d..0a53494049 100644
--- a/source4/librpc/idl/irpc.idl
+++ b/source4/librpc/idl/irpc.idl
@@ -43,7 +43,7 @@ import "security.idl", "nbt.idl";
hyper release_count;
} nbtd_statistics;
- typedef union {
+ typedef [switch_type(nbtd_info_level)] union {
[case(NBTD_INFO_STATISTICS)] nbtd_statistics *stats;
} nbtd_info;
@@ -114,7 +114,7 @@ import "security.idl", "nbt.idl";
[size_is(num_tcons)] smbsrv_tcon_info *tcons;
} smbsrv_tcons;
- typedef union {
+ typedef [switch_type(smbsrv_info_level)] union {
[case(SMBSRV_INFO_SESSIONS)] smbsrv_sessions sessions;
[case(SMBSRV_INFO_TCONS)] smbsrv_tcons tcons;
} smbsrv_info;