summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-09 20:10:22 +0100
committerGünther Deschner <gd@samba.org>2008-03-10 03:43:39 +0100
commit7ff8d9ddd2a98be18382cebfa857cf9cf9d55800 (patch)
treeb3e68bf2dce45d1780b855258d1ee8aa02def796
parent64adc15e66b0c98dca827550e432f319ef709b5a (diff)
downloadsamba-7ff8d9ddd2a98be18382cebfa857cf9cf9d55800.tar.gz
samba-7ff8d9ddd2a98be18382cebfa857cf9cf9d55800.tar.bz2
samba-7ff8d9ddd2a98be18382cebfa857cf9cf9d55800.zip
Fix IDL for srvsvc_NetSessEnum().
Guenther (This used to be commit 35089b53b81d8a8aa117d6c1972ccb938170a2b3)
-rw-r--r--source3/librpc/idl/srvsvc.idl9
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/librpc/idl/srvsvc.idl b/source3/librpc/idl/srvsvc.idl
index 3154940664..4076aac100 100644
--- a/source3/librpc/idl/srvsvc.idl
+++ b/source3/librpc/idl/srvsvc.idl
@@ -355,12 +355,17 @@ import "security.idl", "svcctl.idl";
/******************/
/* Function: 0x0c */
+
+ typedef struct {
+ uint32 level;
+ [switch_is(level)] srvsvc_NetSessCtr ctr;
+ } srvsvc_NetSessInfoCtr;
+
WERROR srvsvc_NetSessEnum(
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *client,
[in,unique] [string,charset(UTF16)] uint16 *user,
- [in,out,ref] uint32 *level,
- [in,out,switch_is(*level),ref] srvsvc_NetSessCtr *ctr,
+ [in,out,ref] srvsvc_NetSessInfoCtr *info_ctr,
[in] uint32 max_buffer,
[out,ref] uint32 *totalentries,
[in,out,unique] uint32 *resume_handle