From 25de3041e6926f4adca229862dfb7e85dad35809 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 19 Nov 2003 23:18:35 +0000 Subject: fixed wkssvc idl and test code for TransportEnum (This used to be commit 42639a8f66e8d4241b24935772552f235f863096) --- source4/librpc/idl/wkssvc.idl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'source4/librpc/idl/wkssvc.idl') diff --git a/source4/librpc/idl/wkssvc.idl b/source4/librpc/idl/wkssvc.idl index 3e3471d795..e42e7ae4f0 100644 --- a/source4/librpc/idl/wkssvc.idl +++ b/source4/librpc/idl/wkssvc.idl @@ -127,17 +127,12 @@ typedef union { case(0) wkssvc_TransportInfoArray *array; - } wkssvc_TransportUnion; - - typedef struct { - uint32 level; - [switch_is(level)] wkssvc_TransportUnion u; } wkssvc_TransportInfo; WERROR wkssvc_TransportEnum ( [in] unistr *server_name, - [in] uint32 level, - [in,out,ref] wkssvc_TransportInfo *info, + [in,out] uint32 level, + [in,out,switch_is(level)] wkssvc_TransportInfo info, [in] uint32 max_buffer, [out] uint32 totalentries, [in,out] uint32 *resume_handle -- cgit