]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fix IDL for srvsvc_NetConnEnum.
authorGünther Deschner <gd@samba.org>
Mon, 10 Mar 2008 16:35:07 +0000 (17:35 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 10 Mar 2008 17:54:18 +0000 (18:54 +0100)
Guenther

source/librpc/idl/srvsvc.idl

index d1ff0c54d8bee0233cb894428f90c1198ab4614c..98a33e2e0d501df0306c3fce67ffd77f85268670 100644 (file)
@@ -197,13 +197,17 @@ import "security.idl", "svcctl.idl";
                [default] ;
        } srvsvc_NetConnCtr;
 
+       typedef struct {
+               uint32 level;
+               [switch_is(level)] srvsvc_NetConnCtr ctr;
+       } srvsvc_NetConnInfoCtr;
+
        /******************/
        /* Function: 0x08 */
        WERROR srvsvc_NetConnEnum(
                [in,unique]   [string,charset(UTF16)] uint16 *server_unc,
                [in,unique]   [string,charset(UTF16)] uint16 *path,
-               [in,out,ref]   uint32 *level,
-               [in,out,switch_is(*level),ref]   srvsvc_NetConnCtr *ctr,
+               [in,out,ref]  srvsvc_NetConnInfoCtr *info_ctr,
                [in]   uint32 max_buffer,
                [out,ref]   uint32 *totalentries,
                [in,out,unique]   uint32 *resume_handle