diff options
author | Günther Deschner <gd@samba.org> | 2008-03-07 02:57:29 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-03-07 13:08:15 +0100 |
commit | f78316c2a7e0567c43a5f750790835543a689a64 (patch) | |
tree | cbaf3b5e93a950c0775a338b897c872bdf90b53d | |
parent | 3279d3110f1f4aaf6c26b304e20dfbe4c2daf4ee (diff) | |
download | samba-f78316c2a7e0567c43a5f750790835543a689a64.tar.gz samba-f78316c2a7e0567c43a5f750790835543a689a64.tar.bz2 samba-f78316c2a7e0567c43a5f750790835543a689a64.zip |
Fix IDL for srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.
Guenther
(This used to be commit e5ae43051e3bcdbad359737b19ec7f5e4b0ccd28)
-rw-r--r-- | source3/librpc/idl/srvsvc.idl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source3/librpc/idl/srvsvc.idl b/source3/librpc/idl/srvsvc.idl index 4ad7bebdbd..86fdeba425 100644 --- a/source3/librpc/idl/srvsvc.idl +++ b/source3/librpc/idl/srvsvc.idl @@ -542,6 +542,11 @@ import "security.idl", "svcctl.idl"; [default] ; } srvsvc_NetShareCtr; + typedef struct { + uint32 level; + [switch_is(level)] srvsvc_NetShareCtr ctr; + } srvsvc_NetShareInfoCtr; + /******************/ /* Function: 0x0e */ WERROR srvsvc_NetShareAdd( @@ -555,8 +560,7 @@ import "security.idl", "svcctl.idl"; /* Function: 0x0f */ WERROR srvsvc_NetShareEnumAll ( [in,unique] [string,charset(UTF16)] uint16 *server_unc, - [in,out,ref] uint32 *level, - [in,out,ref,switch_is(*level)] srvsvc_NetShareCtr *ctr, + [in,out,ref] srvsvc_NetShareInfoCtr *info_ctr, [in] uint32 max_buffer, [out,ref] uint32 *totalentries, [in,out,unique] uint32 *resume_handle @@ -1384,8 +1388,7 @@ import "security.idl", "svcctl.idl"; total entries ... */ WERROR srvsvc_NetShareEnum( [in,unique] [string,charset(UTF16)] uint16 *server_unc, - [in,out,ref] uint32 *level, - [in,out,ref,switch_is(*level)] srvsvc_NetShareCtr *ctr, + [in,out,ref] srvsvc_NetShareInfoCtr *info_ctr, [in] uint32 max_buffer, [out,ref] uint32 *totalentries, [in,out,unique] uint32 *resume_handle |