summaryrefslogtreecommitdiffstats
path: root/source/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-10 17:35:07 +0100
committerKarolin Seeger <kseeger@bando.sernet.private>2008-03-31 14:21:14 +0200
commit66d583497f2cb80a74589e05e426e1b51098c537 (patch)
tree2424ec02d3e41d2e535e4e699f676f58cee277bc /source/librpc
parent993992cb8fc01025779171c452bd16eccbc8546a (diff)
downloadsamba-66d583497f2cb80a74589e05e426e1b51098c537.tar.gz
samba-66d583497f2cb80a74589e05e426e1b51098c537.tar.xz
samba-66d583497f2cb80a74589e05e426e1b51098c537.zip
Fix IDL for srvsvc_NetConnEnum.
Guenther (cherry picked from commit 03a3b8b0ed504d392b7503dfe988c22c4943ace6)
Diffstat (limited to 'source/librpc')
-rw-r--r--source/librpc/idl/srvsvc.idl8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/librpc/idl/srvsvc.idl b/source/librpc/idl/srvsvc.idl
index d1ff0c54d8b..98a33e2e0d5 100644
--- a/source/librpc/idl/srvsvc.idl
+++ b/source/librpc/idl/srvsvc.idl
@@ -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