summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-10 17:35:07 +0100
committerGünther Deschner <gd@samba.org>2008-03-10 18:54:18 +0100
commitd18e531e9789e246eac7e30fe91ad9f6b6a4853a (patch)
treecfb133a817ef48419359677b75c6e2ae2fff3617
parentaa054bd6f31d7bade94b20006eff2b83c2df44a2 (diff)
downloadsamba-d18e531e9789e246eac7e30fe91ad9f6b6a4853a.tar.gz
samba-d18e531e9789e246eac7e30fe91ad9f6b6a4853a.tar.bz2
samba-d18e531e9789e246eac7e30fe91ad9f6b6a4853a.zip
Fix IDL for srvsvc_NetConnEnum.
Guenther (This used to be commit 03a3b8b0ed504d392b7503dfe988c22c4943ace6)
-rw-r--r--source3/librpc/idl/srvsvc.idl8
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/librpc/idl/srvsvc.idl b/source3/librpc/idl/srvsvc.idl
index d1ff0c54d8..98a33e2e0d 100644
--- a/source3/librpc/idl/srvsvc.idl
+++ b/source3/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