summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/dfs.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-14 07:20:46 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-14 07:20:46 +0000
commite8a3825ebc4dfe55581b980507384153b99f534d (patch)
treeebf5793643e9480956b345e93c395f9e5f8b3282 /source4/librpc/idl/dfs.idl
parent5b7f049829ec86f2ee50f6ba6443fa349aba84c2 (diff)
downloadsamba-e8a3825ebc4dfe55581b980507384153b99f534d.tar.gz
samba-e8a3825ebc4dfe55581b980507384153b99f534d.tar.bz2
samba-e8a3825ebc4dfe55581b980507384153b99f534d.zip
we can now do a level1 NetDfsEnum()
(This used to be commit f32641f73f7ff12b797378b3b533603ff1d526b5)
Diffstat (limited to 'source4/librpc/idl/dfs.idl')
-rw-r--r--source4/librpc/idl/dfs.idl26
1 files changed, 23 insertions, 3 deletions
diff --git a/source4/librpc/idl/dfs.idl b/source4/librpc/idl/dfs.idl
index 110dc3563d..19781568a3 100644
--- a/source4/librpc/idl/dfs.idl
+++ b/source4/librpc/idl/dfs.idl
@@ -39,7 +39,7 @@
/******************/
/* Function: 0x04 */
NTSTATUS dfs_Info (
- [in,ref] unistr *path,
+ [in,ref] unistr_noterm *path,
[in] unistr *server,
[in] unistr *share,
[in] uint16 level
@@ -48,9 +48,29 @@
/******************/
/* Function: 0x05 */
+ typedef struct {
+ unistr *str;
+ } dfs_String;
+
+ typedef struct {
+ uint32 count;
+ [size_is(count)] dfs_String *s;
+ } dfs_Enum1;
+
+ typedef union {
+ case(1) dfs_Enum1 *enum1;
+ } dfs_EnumInfo;
+
+ typedef struct {
+ uint32 level;
+ [switch_is(level)] dfs_EnumInfo e;
+ } dfs_EnumStruct;
+
NTSTATUS dfs_Enum (
- [in] unistr *name,
[in] uint32 level,
- [in] uint32 buffer_size
+ [in] uint32 bufsize,
+ [in,out] dfs_EnumStruct *info,
+ [in] uint32 *unknown,
+ [in,out] uint32 *total
);
}