summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/srvsvc.idl
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-11-19 19:32:28 +0000
committerRichard Sharpe <sharpe@samba.org>2003-11-19 19:32:28 +0000
commit7b3f7cd7fd2b5b8455ad4176fe81d2ef617819f3 (patch)
treea0dec3c07aeff17c7e4968f8ff1db61150bcdecd /source4/librpc/idl/srvsvc.idl
parent1941b5cef04c39ddf89fb236d1d81167c0b25e6b (diff)
downloadsamba-7b3f7cd7fd2b5b8455ad4176fe81d2ef617819f3.tar.gz
samba-7b3f7cd7fd2b5b8455ad4176fe81d2ef617819f3.tar.bz2
samba-7b3f7cd7fd2b5b8455ad4176fe81d2ef617819f3.zip
Some simple tweaks to the IDL to make it more correct ...
I am also concerned about the difference between NetShareEnum and NetShareEnumAll. I would be interested to see a trace of NetShareEnumAll. I also think we should stick to the names used in MSDN where possible, as that makes it easier for people who are familiar with MSDN to help us get this right. (This used to be commit 580939e62e80a06b9a8ad974f6798c49dab4f78c)
Diffstat (limited to 'source4/librpc/idl/srvsvc.idl')
-rw-r--r--source4/librpc/idl/srvsvc.idl18
1 files changed, 11 insertions, 7 deletions
diff --git a/source4/librpc/idl/srvsvc.idl b/source4/librpc/idl/srvsvc.idl
index 343e8edb93..20e5c8958e 100644
--- a/source4/librpc/idl/srvsvc.idl
+++ b/source4/librpc/idl/srvsvc.idl
@@ -348,15 +348,15 @@
typedef struct {
uint32 level;
- uint32 level2;
[switch_is(level)] srvsvc_NetShareSubCtr subctr;
} srvsvc_NetShareCtr;
WERROR srvsvc_NetShareEnumAll(
- [in] unistr *server_unc,
+ [in] unistr *server_unc,
+ [in] uint32 level,
[in,out] srvsvc_NetShareCtr ctr,
- [in] uint32 preferred_len,
- [out] uint32 total,
+ [in] uint32 preferred_len,
+ [out] uint32 totalentries,
[in,out] uint32 *resume_handle
);
@@ -590,11 +590,15 @@
/******************/
/* Function: 0x24 */
+ /* Note, there must be some way to return entries read vs
+ total entries ... */
WERROR srvsvc_NetShareEnum(
- [in] unistr *server_unc,
+ [in] unistr *server_unc,
+ [in] uint32 level,
[in,out] srvsvc_NetShareCtr ctr,
- [in] uint32 preferred_len,
- [out] uint32 total,
+ [in] uint32 preferred_len,
+ [out] uint32 entriesread,
+ [out] uint32 totalentries,
[in,out] uint32 *resume_handle
);