]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-srvsvc-idl: fix srvsvc_NetCharDevEnum.
authorGünther Deschner <gd@samba.org>
Thu, 30 Oct 2008 15:20:51 +0000 (16:20 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 31 Oct 2008 01:44:27 +0000 (02:44 +0100)
Guenther

source3/librpc/idl/srvsvc.idl

index ef70729e8aadb69cfd27d1d48c316a79e351be1c..bdc6d50de3a00536433d6f1d39f264a9db7338f3 100644 (file)
@@ -51,12 +51,16 @@ import "security.idl", "svcctl.idl";
                [default] ;
        } srvsvc_NetCharDevCtr;
 
+       typedef struct {
+               uint32 level;
+               [switch_is(level)] srvsvc_NetCharDevCtr ctr;
+       } srvsvc_NetCharDevInfoCtr;
+
        /******************/
        /* Function: 0x00 */
        WERROR srvsvc_NetCharDevEnum(
                [in,unique]   [string,charset(UTF16)] uint16 *server_unc,
-               [in,out,ref]   uint32 *level,
-               [in,out,ref,switch_is(*level)]   srvsvc_NetCharDevCtr *ctr,
+               [in,out,ref]  srvsvc_NetCharDevInfoCtr *info_ctr,
                [in]   uint32 max_buffer,
                [out,ref]   uint32 *totalentries,
                [in,out,unique]   uint32 *resume_handle