diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-14 07:56:43 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-14 07:56:43 +0000 |
commit | 57529207ca1c0f2a95e6e9f85fc41bb9a27aa64c (patch) | |
tree | 3d198584168ff25d4919f5476e8a3f361dc7b9b8 /source4/librpc/ndr/ndr_dfs.h | |
parent | 565fd2da7613475e6f083e6257cf61a9089f72fc (diff) | |
download | samba-57529207ca1c0f2a95e6e9f85fc41bb9a27aa64c.tar.gz samba-57529207ca1c0f2a95e6e9f85fc41bb9a27aa64c.tar.bz2 samba-57529207ca1c0f2a95e6e9f85fc41bb9a27aa64c.zip |
* fixed lsa_LookupPrivName
* added levels 2 and 3 of dfs_Enum
(This used to be commit 3fa61c19826cd1415f561e1e5c40adcc59d4abf2)
Diffstat (limited to 'source4/librpc/ndr/ndr_dfs.h')
-rw-r--r-- | source4/librpc/ndr/ndr_dfs.h | 43 |
1 files changed, 38 insertions, 5 deletions
diff --git a/source4/librpc/ndr/ndr_dfs.h b/source4/librpc/ndr/ndr_dfs.h index ea8868f450..2f010c8ad1 100644 --- a/source4/librpc/ndr/ndr_dfs.h +++ b/source4/librpc/ndr/ndr_dfs.h @@ -62,17 +62,50 @@ struct dfs_Info { }; -struct dfs_String { - const char *str; +struct dfs_Info1 { + const char *path; }; -struct dfs_Enum1 { +struct dfs_EnumArray1 { uint32 count; - struct dfs_String *s; + struct dfs_Info1 *s; +}; + +struct dfs_Info2 { + const char *path; + const char *comment; + uint32 state; + uint32 num_stores; +}; + +struct dfs_EnumArray2 { + uint32 count; + struct dfs_Info2 *s; +}; + +struct dfs_StorageInfo { + uint32 state; + const char *server; + const char *share; +}; + +struct dfs_Info3 { + const char *path; + const char *comment; + uint32 state; + uint32 num_stores; + struct dfs_StorageInfo *stores; +}; + +struct dfs_EnumArray3 { + uint32 count; + struct dfs_Info3 *s; }; union dfs_EnumInfo { -/* [case(1)] */ struct dfs_Enum1 *enum1; +/* [case(1)] */ struct dfs_EnumArray1 *info1; +/* [case(2)] */ struct dfs_EnumArray2 *info2; +/* [case(3)] */ struct dfs_EnumArray3 *info3; }; struct dfs_EnumStruct { |