r18469: Use new pidl-generated DFS client code.
[Samba.git] / source / librpc / gen_ndr / dfs.h
blob4bd4f2d7f0e7035723bf9181ee734aa2d095c62a
1 /* header auto-generated by pidl */
3 #ifndef _HEADER_netdfs
4 #define _HEADER_netdfs
6 struct dfs_Info0 {
7 char _empty_;
8 };
10 struct dfs_Info1 {
11 const char *path;/* [unique,keepref,charset(UTF16)] */
14 struct dfs_Info2 {
15 const char *path;/* [unique,keepref,charset(UTF16)] */
16 const char *comment;/* [unique,keepref,charset(UTF16)] */
17 uint32_t state;/* [keepref] */
18 uint32_t num_stores;/* [keepref] */
21 struct dfs_StorageInfo {
22 uint32_t state;/* [keepref] */
23 const char *server;/* [unique,keepref,charset(UTF16)] */
24 const char *share;/* [unique,keepref,charset(UTF16)] */
27 struct dfs_Info3 {
28 const char *path;/* [unique,keepref,charset(UTF16)] */
29 const char *comment;/* [unique,keepref,charset(UTF16)] */
30 uint32_t state;/* [keepref] */
31 uint32_t num_stores;/* [keepref] */
32 struct dfs_StorageInfo *stores;/* [unique,keepref,size_is(num_stores)] */
35 struct dfs_Info4 {
36 const char *path;/* [unique,keepref,charset(UTF16)] */
37 const char *comment;/* [unique,keepref,charset(UTF16)] */
38 uint32_t state;/* [keepref] */
39 uint32_t timeout;/* [keepref] */
40 struct GUID guid;/* [keepref] */
41 uint32_t num_stores;/* [keepref] */
42 struct dfs_StorageInfo *stores;/* [unique,keepref,size_is(num_stores)] */
45 struct dfs_Info100 {
46 const char *comment;/* [unique,keepref,charset(UTF16)] */
49 struct dfs_Info101 {
50 uint32_t state;/* [keepref] */
53 struct dfs_Info102 {
54 uint32_t timeout;/* [keepref] */
57 struct dfs_Info200 {
58 const char *dom_root;/* [unique,keepref,charset(UTF16)] */
61 struct dfs_Info300 {
62 uint32_t flags;/* [keepref] */
63 const char *dom_root;/* [unique,keepref,charset(UTF16)] */
66 union dfs_Info {
67 struct dfs_Info0 *info0;/* [unique,keepref,case(0)] */
68 struct dfs_Info1 *info1;/* [unique,keepref,case] */
69 struct dfs_Info2 *info2;/* [unique,keepref,case(2)] */
70 struct dfs_Info3 *info3;/* [unique,keepref,case(3)] */
71 struct dfs_Info4 *info4;/* [unique,keepref,case(4)] */
72 struct dfs_Info100 *info100;/* [unique,keepref,case(100)] */
73 struct dfs_Info101 *info101;/* [unique,keepref,case(101)] */
74 struct dfs_Info102 *info102;/* [unique,keepref,case(102)] */
77 struct dfs_EnumArray1 {
78 uint32_t count;/* [keepref] */
79 struct dfs_Info1 *s;/* [unique,keepref,size_is(count)] */
82 struct dfs_EnumArray2 {
83 uint32_t count;/* [keepref] */
84 struct dfs_Info2 *s;/* [unique,keepref,size_is(count)] */
87 struct dfs_EnumArray3 {
88 uint32_t count;/* [keepref] */
89 struct dfs_Info3 *s;/* [unique,keepref,size_is(count)] */
92 struct dfs_EnumArray4 {
93 uint32_t count;/* [keepref] */
94 struct dfs_Info4 *s;/* [unique,keepref,size_is(count)] */
97 struct dfs_EnumArray200 {
98 uint32_t count;/* [keepref] */
99 struct dfs_Info200 *s;/* [unique,keepref,size_is(count)] */
102 struct dfs_EnumArray300 {
103 uint32_t count;/* [keepref] */
104 struct dfs_Info300 *s;/* [unique,keepref,size_is(count)] */
107 union dfs_EnumInfo {
108 struct dfs_EnumArray1 *info1;/* [unique,keepref,case] */
109 struct dfs_EnumArray2 *info2;/* [unique,keepref,case(2)] */
110 struct dfs_EnumArray3 *info3;/* [unique,keepref,case(3)] */
111 struct dfs_EnumArray4 *info4;/* [unique,keepref,case(4)] */
112 struct dfs_EnumArray200 *info200;/* [unique,keepref,case(200)] */
113 struct dfs_EnumArray300 *info300;/* [unique,keepref,case(300)] */
116 struct dfs_EnumStruct {
117 uint32_t level;/* [keepref] */
118 union dfs_EnumInfo e;/* [keepref,switch_is(level)] */
122 struct dfs_GetManagerVersion {
123 struct {
124 uint32_t *exist_flag;/* [keepref,ref] */
125 } out;
130 struct dfs_Add {
131 struct {
132 const char *path;/* [keepref,ref,charset(UTF16)] */
133 const char *server;/* [keepref,ref,charset(UTF16)] */
134 const char *share;/* [unique,keepref,charset(UTF16)] */
135 const char *comment;/* [unique,keepref,charset(UTF16)] */
136 uint32_t flags;/* [keepref] */
137 } in;
139 struct {
140 WERROR result;
141 } out;
146 struct dfs_Remove {
147 struct {
148 const char *path;/* [keepref,ref,charset(UTF16)] */
149 const char *server;/* [unique,keepref,charset(UTF16)] */
150 const char *share;/* [unique,keepref,charset(UTF16)] */
151 } in;
153 struct {
154 WERROR result;
155 } out;
160 struct dfs_SetInfo {
161 struct {
162 WERROR result;
163 } out;
168 struct dfs_GetInfo {
169 struct {
170 const char *path;/* [keepref,ref,charset(UTF16)] */
171 const char *server;/* [unique,keepref,charset(UTF16)] */
172 const char *share;/* [unique,keepref,charset(UTF16)] */
173 uint32_t level;/* [keepref] */
174 } in;
176 struct {
177 union dfs_Info *info;/* [keepref,ref,switch_is(level)] */
178 WERROR result;
179 } out;
184 struct dfs_Enum {
185 struct {
186 uint32_t level;/* [keepref] */
187 uint32_t bufsize;/* [keepref] */
188 struct dfs_EnumStruct *info;/* [unique,keepref] */
189 uint32_t *unknown;/* [unique,keepref] */
190 uint32_t *total;/* [unique,keepref] */
191 } in;
193 struct {
194 struct dfs_EnumStruct *info;/* [unique,keepref] */
195 uint32_t *total;/* [unique,keepref] */
196 WERROR result;
197 } out;
202 struct dfs_Rename {
203 struct {
204 WERROR result;
205 } out;
210 struct dfs_Move {
211 struct {
212 WERROR result;
213 } out;
218 struct dfs_ManagerGetConfigInfo {
219 struct {
220 WERROR result;
221 } out;
226 struct dfs_ManagerSendSiteInfo {
227 struct {
228 WERROR result;
229 } out;
234 struct dfs_AddFtRoot {
235 struct {
236 WERROR result;
237 } out;
242 struct dfs_RemoveFtRoot {
243 struct {
244 WERROR result;
245 } out;
250 struct dfs_AddStdRoot {
251 struct {
252 WERROR result;
253 } out;
258 struct dfs_RemoveStdRoot {
259 struct {
260 WERROR result;
261 } out;
266 struct dfs_ManagerInitialize {
267 struct {
268 WERROR result;
269 } out;
274 struct dfs_AddStdRootForced {
275 struct {
276 WERROR result;
277 } out;
282 struct dfs_GetDcAddress {
283 struct {
284 WERROR result;
285 } out;
290 struct dfs_SetDcAddress {
291 struct {
292 WERROR result;
293 } out;
298 struct dfs_FlushFtTable {
299 struct {
300 WERROR result;
301 } out;
306 struct dfs_Add2 {
307 struct {
308 WERROR result;
309 } out;
314 struct dfs_Remove2 {
315 struct {
316 WERROR result;
317 } out;
322 struct dfs_EnumEx {
323 struct {
324 const char *name;/* [keepref,ref,charset(UTF16)] */
325 uint32_t level;/* [keepref] */
326 uint32_t bufsize;/* [keepref] */
327 struct dfs_EnumStruct *info;/* [unique,keepref] */
328 uint32_t *total;/* [unique,keepref] */
329 } in;
331 struct {
332 struct dfs_EnumStruct *info;/* [unique,keepref] */
333 uint32_t *total;/* [unique,keepref] */
334 WERROR result;
335 } out;
340 struct dfs_SetInfo2 {
341 struct {
342 WERROR result;
343 } out;
347 #endif /* _HEADER_netdfs */