libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
[Samba.git] / source / librpc / gen_ndr / dfs.h
blob8957eaef56a47783c73f8978a625404ded2827e7
1 /* header auto-generated by pidl */
3 #include <stdint.h>
5 #ifndef _HEADER_netdfs
6 #define _HEADER_netdfs
8 #define DFS_STORAGE_STATES ( 0xf )
9 enum dfs_ManagerVersion
10 #ifndef USE_UINT_ENUMS
12 DFS_MANAGER_VERSION_NT4=1,
13 DFS_MANAGER_VERSION_W2K=2,
14 DFS_MANAGER_VERSION_W2K3=4,
15 DFS_MANAGER_VERSION_W2K8=6
17 #else
18 { __donnot_use_enum_dfs_ManagerVersion=0x7FFFFFFF}
19 #define DFS_MANAGER_VERSION_NT4 ( 1 )
20 #define DFS_MANAGER_VERSION_W2K ( 2 )
21 #define DFS_MANAGER_VERSION_W2K3 ( 4 )
22 #define DFS_MANAGER_VERSION_W2K8 ( 6 )
23 #endif
26 struct dfs_Info0 {
27 char _empty_;
30 struct dfs_Info1 {
31 const char *path;/* [unique,charset(UTF16)] */
34 /* bitmap dfs_VolumeState */
35 #define DFS_VOLUME_STATE_OK ( 0x1 )
36 #define DFS_VOLUME_STATE_INCONSISTENT ( 0x2 )
37 #define DFS_VOLUME_STATE_OFFLINE ( 0x3 )
38 #define DFS_VOLUME_STATE_ONLINE ( 0x4 )
39 #define DFS_VOLUME_STATE_STANDALONE ( DFS_VOLUME_FLAVOR_STANDALONE )
40 #define DFS_VOLUME_STATE_AD_BLOB ( DFS_VOLUME_FLAVOR_AD_BLOB )
42 struct dfs_Info2 {
43 const char *path;/* [unique,charset(UTF16)] */
44 const char *comment;/* [unique,charset(UTF16)] */
45 uint32_t state;
46 uint32_t num_stores;
49 /* bitmap dfs_StorageState */
50 #define DFS_STORAGE_STATE_OFFLINE ( 1 )
51 #define DFS_STORAGE_STATE_ONLINE ( 2 )
52 #define DFS_STORAGE_STATE_ACTIVE ( 4 )
54 struct dfs_StorageInfo {
55 uint32_t state;
56 const char *server;/* [unique,charset(UTF16)] */
57 const char *share;/* [unique,charset(UTF16)] */
60 struct dfs_Info3 {
61 const char *path;/* [unique,charset(UTF16)] */
62 const char *comment;/* [unique,charset(UTF16)] */
63 uint32_t state;
64 uint32_t num_stores;
65 struct dfs_StorageInfo *stores;/* [unique,size_is(num_stores)] */
68 struct dfs_Info4 {
69 const char *path;/* [unique,charset(UTF16)] */
70 const char *comment;/* [unique,charset(UTF16)] */
71 uint32_t state;
72 uint32_t timeout;
73 struct GUID guid;
74 uint32_t num_stores;
75 struct dfs_StorageInfo *stores;/* [unique,size_is(num_stores)] */
78 /* bitmap dfs_PropertyFlags */
79 #define DFS_PROPERTY_FLAG_INSITE_REFERRALS ( 0x01 )
80 #define DFS_PROPERTY_FLAG_ROOT_SCALABILITY ( 0x02 )
81 #define DFS_PROPERTY_FLAG_SITE_COSTING ( 0x04 )
82 #define DFS_PROPERTY_FLAG_TARGET_FAILBACK ( 0x08 )
83 #define DFS_PROPERTY_FLAG_CLUSTER_ENABLED ( 0x10 )
85 struct dfs_Info5 {
86 const char *path;/* [unique,charset(UTF16)] */
87 const char *comment;/* [unique,charset(UTF16)] */
88 uint32_t state;
89 uint32_t timeout;
90 struct GUID guid;
91 uint32_t flags;
92 uint32_t pktsize;
93 uint32_t num_stores;
96 enum dfs_Target_PriorityClass
97 #ifndef USE_UINT_ENUMS
99 DFS_INVALID_PRIORITY_CLASS=-1,
100 DFS_SITE_COST_NORMAL_PRIORITY_CLASS=0,
101 DFS_GLOBAL_HIGH_PRIORITY_CLASS=1,
102 DFS_SITE_COST_HIGH_PRIORITY_CLASS=2,
103 DFS_SITE_COST_LOW_PRIORITY_CLASS=3,
104 DFS_GLOBAL_LOW_PRIORITY_CLASS=4
106 #else
107 { __donnot_use_enum_dfs_Target_PriorityClass=0x7FFFFFFF}
108 #define DFS_INVALID_PRIORITY_CLASS ( -1 )
109 #define DFS_SITE_COST_NORMAL_PRIORITY_CLASS ( 0 )
110 #define DFS_GLOBAL_HIGH_PRIORITY_CLASS ( 1 )
111 #define DFS_SITE_COST_HIGH_PRIORITY_CLASS ( 2 )
112 #define DFS_SITE_COST_LOW_PRIORITY_CLASS ( 3 )
113 #define DFS_GLOBAL_LOW_PRIORITY_CLASS ( 4 )
114 #endif
117 struct dfs_Target_Priority {
118 enum dfs_Target_PriorityClass target_priority_class;
119 uint16_t target_priority_rank;
120 uint16_t reserved;
123 struct dfs_StorageInfo2 {
124 struct dfs_StorageInfo info;
125 struct dfs_Target_Priority target_priority;
128 struct dfs_Info6 {
129 const char *entry_path;/* [unique,charset(UTF16)] */
130 const char *comment;/* [unique,charset(UTF16)] */
131 uint32_t state;
132 uint32_t timeout;
133 struct GUID guid;
134 uint32_t flags;
135 uint32_t pktsize;
136 uint16_t num_stores;
137 struct dfs_StorageInfo2 *stores;/* [unique,size_is(num_stores)] */
140 struct dfs_Info7 {
141 struct GUID generation_guid;
144 struct dfs_Info100 {
145 const char *comment;/* [unique,charset(UTF16)] */
148 struct dfs_Info101 {
149 uint32_t state;
152 struct dfs_Info102 {
153 uint32_t timeout;
156 struct dfs_Info103 {
157 uint32_t flags;
160 struct dfs_Info104 {
161 struct dfs_Target_Priority priority;
164 struct dfs_Info105 {
165 const char *comment;/* [unique,charset(UTF16)] */
166 uint32_t state;
167 uint32_t timeout;
168 uint32_t property_flag_mask;
169 uint32_t property_flags;
172 struct dfs_Info106 {
173 uint32_t state;
174 struct dfs_Target_Priority priority;
177 struct dfs_Info200 {
178 const char *dom_root;/* [unique,charset(UTF16)] */
181 enum dfs_VolumeFlavor
182 #ifndef USE_UINT_ENUMS
184 DFS_VOLUME_FLAVOR_STANDALONE=0x100,
185 DFS_VOLUME_FLAVOR_AD_BLOB=0x200
187 #else
188 { __donnot_use_enum_dfs_VolumeFlavor=0x7FFFFFFF}
189 #define DFS_VOLUME_FLAVOR_STANDALONE ( 0x100 )
190 #define DFS_VOLUME_FLAVOR_AD_BLOB ( 0x200 )
191 #endif
194 struct dfs_Info300 {
195 enum dfs_VolumeFlavor flavor;
196 const char *dom_root;/* [unique,charset(UTF16)] */
199 union dfs_Info {
200 struct dfs_Info0 *info0;/* [unique,case(0)] */
201 struct dfs_Info1 *info1;/* [unique,case] */
202 struct dfs_Info2 *info2;/* [unique,case(2)] */
203 struct dfs_Info3 *info3;/* [unique,case(3)] */
204 struct dfs_Info4 *info4;/* [unique,case(4)] */
205 struct dfs_Info5 *info5;/* [unique,case(5)] */
206 struct dfs_Info6 *info6;/* [unique,case(6)] */
207 struct dfs_Info7 *info7;/* [unique,case(7)] */
208 struct dfs_Info100 *info100;/* [unique,case(100)] */
209 struct dfs_Info101 *info101;/* [unique,case(101)] */
210 struct dfs_Info102 *info102;/* [unique,case(102)] */
211 struct dfs_Info103 *info103;/* [unique,case(103)] */
212 struct dfs_Info104 *info104;/* [unique,case(104)] */
213 struct dfs_Info105 *info105;/* [unique,case(105)] */
214 struct dfs_Info106 *info106;/* [unique,case(106)] */
217 struct dfs_EnumArray1 {
218 uint32_t count;
219 struct dfs_Info1 *s;/* [unique,size_is(count)] */
222 struct dfs_EnumArray2 {
223 uint32_t count;
224 struct dfs_Info2 *s;/* [unique,size_is(count)] */
227 struct dfs_EnumArray3 {
228 uint32_t count;
229 struct dfs_Info3 *s;/* [unique,size_is(count)] */
232 struct dfs_EnumArray4 {
233 uint32_t count;
234 struct dfs_Info4 *s;/* [unique,size_is(count)] */
237 struct dfs_EnumArray5 {
238 uint32_t count;
239 struct dfs_Info5 *s;/* [unique,size_is(count)] */
242 struct dfs_EnumArray6 {
243 uint32_t count;
244 struct dfs_Info6 *s;/* [unique,size_is(count)] */
247 struct dfs_EnumArray200 {
248 uint32_t count;
249 struct dfs_Info200 *s;/* [unique,size_is(count)] */
252 struct dfs_EnumArray300 {
253 uint32_t count;
254 struct dfs_Info300 *s;/* [unique,size_is(count)] */
257 union dfs_EnumInfo {
258 struct dfs_EnumArray1 *info1;/* [unique,case] */
259 struct dfs_EnumArray2 *info2;/* [unique,case(2)] */
260 struct dfs_EnumArray3 *info3;/* [unique,case(3)] */
261 struct dfs_EnumArray4 *info4;/* [unique,case(4)] */
262 struct dfs_EnumArray5 *info5;/* [unique,case(5)] */
263 struct dfs_EnumArray6 *info6;/* [unique,case(6)] */
264 struct dfs_EnumArray200 *info200;/* [unique,case(200)] */
265 struct dfs_EnumArray300 *info300;/* [unique,case(300)] */
268 struct dfs_EnumStruct {
269 uint32_t level;
270 union dfs_EnumInfo e;/* [switch_is(level)] */
273 struct dfs_UnknownStruct {
274 uint32_t unknown1;
275 const char *unknown2;/* [unique,charset(UTF16)] */
279 struct dfs_GetManagerVersion {
280 struct {
281 enum dfs_ManagerVersion *version;/* [ref] */
282 } out;
287 struct dfs_Add {
288 struct {
289 const char *path;/* [ref,charset(UTF16)] */
290 const char *server;/* [ref,charset(UTF16)] */
291 const char *share;/* [unique,charset(UTF16)] */
292 const char *comment;/* [unique,charset(UTF16)] */
293 uint32_t flags;
294 } in;
296 struct {
297 WERROR result;
298 } out;
303 struct dfs_Remove {
304 struct {
305 const char *dfs_entry_path;/* [ref,charset(UTF16)] */
306 const char *servername;/* [unique,charset(UTF16)] */
307 const char *sharename;/* [unique,charset(UTF16)] */
308 } in;
310 struct {
311 WERROR result;
312 } out;
317 struct dfs_SetInfo {
318 struct {
319 const char *dfs_entry_path;/* [charset(UTF16)] */
320 const char *servername;/* [unique,charset(UTF16)] */
321 const char *sharename;/* [unique,charset(UTF16)] */
322 uint32_t level;
323 union dfs_Info *info;/* [ref,switch_is(level)] */
324 } in;
326 struct {
327 WERROR result;
328 } out;
333 struct dfs_GetInfo {
334 struct {
335 const char *dfs_entry_path;/* [charset(UTF16)] */
336 const char *servername;/* [unique,charset(UTF16)] */
337 const char *sharename;/* [unique,charset(UTF16)] */
338 uint32_t level;
339 } in;
341 struct {
342 union dfs_Info *info;/* [ref,switch_is(level)] */
343 WERROR result;
344 } out;
349 struct dfs_Enum {
350 struct {
351 uint32_t level;
352 uint32_t bufsize;
353 struct dfs_EnumStruct *info;/* [unique] */
354 uint32_t *total;/* [unique] */
355 } in;
357 struct {
358 struct dfs_EnumStruct *info;/* [unique] */
359 uint32_t *total;/* [unique] */
360 WERROR result;
361 } out;
366 struct dfs_Rename {
367 struct {
368 WERROR result;
369 } out;
374 struct dfs_Move {
375 struct {
376 WERROR result;
377 } out;
382 struct dfs_ManagerGetConfigInfo {
383 struct {
384 WERROR result;
385 } out;
390 struct dfs_ManagerSendSiteInfo {
391 struct {
392 WERROR result;
393 } out;
398 struct dfs_AddFtRoot {
399 struct {
400 const char *servername;/* [charset(UTF16)] */
401 const char *dns_servername;/* [charset(UTF16)] */
402 const char *dfsname;/* [charset(UTF16)] */
403 const char *rootshare;/* [charset(UTF16)] */
404 const char *comment;/* [charset(UTF16)] */
405 const char *dfs_config_dn;/* [charset(UTF16)] */
406 uint8_t unknown1;
407 uint32_t flags;
408 struct dfs_UnknownStruct **unknown2;/* [unique] */
409 } in;
411 struct {
412 struct dfs_UnknownStruct **unknown2;/* [unique] */
413 WERROR result;
414 } out;
419 struct dfs_RemoveFtRoot {
420 struct {
421 const char *servername;/* [charset(UTF16)] */
422 const char *dns_servername;/* [charset(UTF16)] */
423 const char *dfsname;/* [charset(UTF16)] */
424 const char *rootshare;/* [charset(UTF16)] */
425 uint32_t flags;
426 struct dfs_UnknownStruct **unknown;/* [unique] */
427 } in;
429 struct {
430 struct dfs_UnknownStruct **unknown;/* [unique] */
431 WERROR result;
432 } out;
437 struct dfs_AddStdRoot {
438 struct {
439 const char *servername;/* [charset(UTF16)] */
440 const char *rootshare;/* [charset(UTF16)] */
441 const char *comment;/* [charset(UTF16)] */
442 uint32_t flags;
443 } in;
445 struct {
446 WERROR result;
447 } out;
452 struct dfs_RemoveStdRoot {
453 struct {
454 const char *servername;/* [charset(UTF16)] */
455 const char *rootshare;/* [charset(UTF16)] */
456 uint32_t flags;
457 } in;
459 struct {
460 WERROR result;
461 } out;
466 struct dfs_ManagerInitialize {
467 struct {
468 const char *servername;/* [ref,charset(UTF16)] */
469 uint32_t flags;
470 } in;
472 struct {
473 WERROR result;
474 } out;
479 struct dfs_AddStdRootForced {
480 struct {
481 const char *servername;/* [charset(UTF16)] */
482 const char *rootshare;/* [charset(UTF16)] */
483 const char *comment;/* [charset(UTF16)] */
484 const char *store;/* [charset(UTF16)] */
485 } in;
487 struct {
488 WERROR result;
489 } out;
494 struct dfs_GetDcAddress {
495 struct {
496 const char *servername;/* [charset(UTF16)] */
497 const char **server_fullname;/* [ref,charset(UTF16)] */
498 uint8_t *is_root;/* [ref] */
499 uint32_t *ttl;/* [ref] */
500 } in;
502 struct {
503 const char **server_fullname;/* [ref,charset(UTF16)] */
504 uint8_t *is_root;/* [ref] */
505 uint32_t *ttl;/* [ref] */
506 WERROR result;
507 } out;
512 struct dfs_SetDcAddress {
513 struct {
514 const char *servername;/* [charset(UTF16)] */
515 const char *server_fullname;/* [charset(UTF16)] */
516 uint32_t flags;
517 uint32_t ttl;
518 } in;
520 struct {
521 WERROR result;
522 } out;
527 struct dfs_FlushFtTable {
528 struct {
529 const char *servername;/* [charset(UTF16)] */
530 const char *rootshare;/* [charset(UTF16)] */
531 } in;
533 struct {
534 WERROR result;
535 } out;
540 struct dfs_Add2 {
541 struct {
542 WERROR result;
543 } out;
548 struct dfs_Remove2 {
549 struct {
550 WERROR result;
551 } out;
556 struct dfs_EnumEx {
557 struct {
558 const char *dfs_name;/* [charset(UTF16)] */
559 uint32_t level;
560 uint32_t bufsize;
561 struct dfs_EnumStruct *info;/* [unique] */
562 uint32_t *total;/* [unique] */
563 } in;
565 struct {
566 struct dfs_EnumStruct *info;/* [unique] */
567 uint32_t *total;/* [unique] */
568 WERROR result;
569 } out;
574 struct dfs_SetInfo2 {
575 struct {
576 WERROR result;
577 } out;
581 #endif /* _HEADER_netdfs */