summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_dfs.h
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/ndr/ndr_dfs.h
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/ndr/ndr_dfs.h')
-rw-r--r--source4/librpc/ndr/ndr_dfs.h28
1 files changed, 24 insertions, 4 deletions
diff --git a/source4/librpc/ndr/ndr_dfs.h b/source4/librpc/ndr/ndr_dfs.h
index a1e0c2ef17..ea8868f450 100644
--- a/source4/librpc/ndr/ndr_dfs.h
+++ b/source4/librpc/ndr/ndr_dfs.h
@@ -62,16 +62,36 @@ struct dfs_Info {
};
+struct dfs_String {
+ const char *str;
+};
+
+struct dfs_Enum1 {
+ uint32 count;
+ struct dfs_String *s;
+};
+
+union dfs_EnumInfo {
+/* [case(1)] */ struct dfs_Enum1 *enum1;
+};
+
+struct dfs_EnumStruct {
+ uint32 level;
+ union dfs_EnumInfo e;
+};
+
struct dfs_Enum {
struct {
- const char *name;
uint32 level;
- uint32 buffer_size;
- uint32 *resume_handle;
+ uint32 bufsize;
+ struct dfs_EnumStruct *info;
+ uint32 *unknown;
+ uint32 *total;
} in;
struct {
- uint32 *resume_handle;
+ struct dfs_EnumStruct *info;
+ uint32 *total;
NTSTATUS result;
} out;