summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-10 17:07:05 +0100
committerGünther Deschner <gd@samba.org>2008-03-10 17:07:05 +0100
commit89d209719f75e5c8ab9c66c1e6d062f7b3bdf0a7 (patch)
tree4a1731aa8db2799bf788895df53ac245c0e7bf68 /source3/librpc
parent663d147aca21fbf1f9d1890073de2a6f4d005435 (diff)
downloadsamba-89d209719f75e5c8ab9c66c1e6d062f7b3bdf0a7.tar.gz
samba-89d209719f75e5c8ab9c66c1e6d062f7b3bdf0a7.tar.bz2
samba-89d209719f75e5c8ab9c66c1e6d062f7b3bdf0a7.zip
Fix IDL for srvsvc_NetFileEnum.
Guenther (This used to be commit 01c73aa9676137349590a9f0a6281b6efe8343a7)
Diffstat (limited to 'source3/librpc')
-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 4076aac100..d1ff0c54d8 100644
--- a/source3/librpc/idl/srvsvc.idl
+++ b/source3/librpc/idl/srvsvc.idl
@@ -246,14 +246,18 @@ import "security.idl", "svcctl.idl";
[default] ;
} srvsvc_NetFileCtr;
+ typedef struct {
+ uint32 level;
+ [switch_is(level)] srvsvc_NetFileCtr ctr;
+ } srvsvc_NetFileInfoCtr;
+
/******************/
/* Function: 0x09 */
WERROR srvsvc_NetFileEnum(
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *path,
[in,unique] [string,charset(UTF16)] uint16 *user,
- [in,out,ref] uint32 *level,
- [in,out,switch_is(*level),ref] srvsvc_NetFileCtr *ctr,
+ [in,out,ref] srvsvc_NetFileInfoCtr *info_ctr,
[in] uint32 max_buffer,
[out,ref] uint32 *totalentries,
[in,out,unique] uint32 *resume_handle