summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-27 09:49:19 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:22 +0100
commitfb252641905e6effbeace4ff1cf9d567a3e5229f (patch)
treec2ce07bc7bde8e429d4418755e01507711b7bc17 /source4/librpc/idl
parent7769f9db3408d5b98560045b07529a8359ca6911 (diff)
downloadsamba-fb252641905e6effbeace4ff1cf9d567a3e5229f.tar.gz
samba-fb252641905e6effbeace4ff1cf9d567a3e5229f.tar.bz2
samba-fb252641905e6effbeace4ff1cf9d567a3e5229f.zip
r26144: Add IDL and torture test for wkssvc_NetrWkstaTransportAdd and
wkssvc_NetrWkstaTransportDel. Guenther (This used to be commit 99add8aed3677fae472d367aec2d2a454684410b)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/wkssvc.idl27
1 files changed, 20 insertions, 7 deletions
diff --git a/source4/librpc/idl/wkssvc.idl b/source4/librpc/idl/wkssvc.idl
index 5df7cb2df5..cefa5165a4 100644
--- a/source4/librpc/idl/wkssvc.idl
+++ b/source4/librpc/idl/wkssvc.idl
@@ -232,26 +232,39 @@ import "srvsvc.idl";
typedef union {
[case(0)] wkssvc_NetWkstaTransportCtr0 *ctr0;
- [default] ;
} wkssvc_NetWkstaTransportCtr;
+ typedef struct {
+ uint32 level;
+ [switch_is(level)] wkssvc_NetWkstaTransportCtr ctr;
+ } wkssvc_NetWkstaTransportInfo;
+
WERROR wkssvc_NetWkstaTransportEnum (
[in] [string,charset(UTF16)] uint16 *server_name,
- [in,out] uint32 level,
- [in,out,switch_is(level),ref] wkssvc_NetWkstaTransportCtr *ctr,
+ [in,out,ref] wkssvc_NetWkstaTransportInfo *info,
[in] uint32 max_buffer,
- [out] uint32 totalentries,
+ [out,ref] uint32 *total_entries,
[in,out] uint32 *resume_handle
);
-
/*****************************/
/* Function 0x06 */
- WERROR WKSSVC_NETRWKSTATRANSPORTADD ();
+ /* only supported on NT */
+ WERROR wkssvc_NetrWkstaTransportAdd(
+ [in] [string,charset(UTF16)] uint16 *server_name,
+ [in] uint32 level, /* must be 0 */
+ [in] [ref] wkssvc_NetWkstaTransportInfo0 *info0,
+ [in,out] uint32 *parm_err
+ );
/*****************************/
/* Function 0x07 */
- WERROR WKSSVC_NETRWKSTATRANSPORTDEL ();
+ /* only supported on NT */
+ WERROR wkssvc_NetrWkstaTransportDel(
+ [in] [string,charset(UTF16)] uint16 *server_name,
+ [in] [string,charset(UTF16)] uint16 *transport_name,
+ [in] uint32 unknown3
+ );
/*****************************/
/* Function 0x08 */