1 /* header auto-generated by pidl */
5 #include "librpc/gen_ndr/misc.h"
9 #define DFS_STORAGE_STATES ( 0xf )
10 enum dfs_ManagerVersion
11 #ifndef USE_UINT_ENUMS
13 DFS_MANAGER_VERSION_NT4
=1,
14 DFS_MANAGER_VERSION_W2K
=2,
15 DFS_MANAGER_VERSION_W2K3
=4,
16 DFS_MANAGER_VERSION_W2K8
=6
19 { __donnot_use_enum_dfs_ManagerVersion
=0x7FFFFFFF}
20 #define DFS_MANAGER_VERSION_NT4 ( 1 )
21 #define DFS_MANAGER_VERSION_W2K ( 2 )
22 #define DFS_MANAGER_VERSION_W2K3 ( 4 )
23 #define DFS_MANAGER_VERSION_W2K8 ( 6 )
32 const char *path
;/* [unique,charset(UTF16)] */
35 /* bitmap dfs_VolumeState */
36 #define DFS_VOLUME_STATE_OK ( 0x1 )
37 #define DFS_VOLUME_STATE_INCONSISTENT ( 0x2 )
38 #define DFS_VOLUME_STATE_OFFLINE ( 0x3 )
39 #define DFS_VOLUME_STATE_ONLINE ( 0x4 )
40 #define DFS_VOLUME_STATE_STANDALONE ( DFS_VOLUME_FLAVOR_STANDALONE )
41 #define DFS_VOLUME_STATE_AD_BLOB ( DFS_VOLUME_FLAVOR_AD_BLOB )
44 const char *path
;/* [unique,charset(UTF16)] */
45 const char *comment
;/* [unique,charset(UTF16)] */
50 /* bitmap dfs_StorageState */
51 #define DFS_STORAGE_STATE_OFFLINE ( 1 )
52 #define DFS_STORAGE_STATE_ONLINE ( 2 )
53 #define DFS_STORAGE_STATE_ACTIVE ( 4 )
55 struct dfs_StorageInfo
{
57 const char *server
;/* [unique,charset(UTF16)] */
58 const char *share
;/* [unique,charset(UTF16)] */
62 const char *path
;/* [unique,charset(UTF16)] */
63 const char *comment
;/* [unique,charset(UTF16)] */
66 struct dfs_StorageInfo
*stores
;/* [unique,size_is(num_stores)] */
70 const char *path
;/* [unique,charset(UTF16)] */
71 const char *comment
;/* [unique,charset(UTF16)] */
76 struct dfs_StorageInfo
*stores
;/* [unique,size_is(num_stores)] */
79 /* bitmap dfs_PropertyFlags */
80 #define DFS_PROPERTY_FLAG_INSITE_REFERRALS ( 0x01 )
81 #define DFS_PROPERTY_FLAG_ROOT_SCALABILITY ( 0x02 )
82 #define DFS_PROPERTY_FLAG_SITE_COSTING ( 0x04 )
83 #define DFS_PROPERTY_FLAG_TARGET_FAILBACK ( 0x08 )
84 #define DFS_PROPERTY_FLAG_CLUSTER_ENABLED ( 0x10 )
87 const char *path
;/* [unique,charset(UTF16)] */
88 const char *comment
;/* [unique,charset(UTF16)] */
97 enum dfs_Target_PriorityClass
98 #ifndef USE_UINT_ENUMS
100 DFS_INVALID_PRIORITY_CLASS
=-1,
101 DFS_SITE_COST_NORMAL_PRIORITY_CLASS
=0,
102 DFS_GLOBAL_HIGH_PRIORITY_CLASS
=1,
103 DFS_SITE_COST_HIGH_PRIORITY_CLASS
=2,
104 DFS_SITE_COST_LOW_PRIORITY_CLASS
=3,
105 DFS_GLOBAL_LOW_PRIORITY_CLASS
=4
108 { __donnot_use_enum_dfs_Target_PriorityClass
=0x7FFFFFFF}
109 #define DFS_INVALID_PRIORITY_CLASS ( -1 )
110 #define DFS_SITE_COST_NORMAL_PRIORITY_CLASS ( 0 )
111 #define DFS_GLOBAL_HIGH_PRIORITY_CLASS ( 1 )
112 #define DFS_SITE_COST_HIGH_PRIORITY_CLASS ( 2 )
113 #define DFS_SITE_COST_LOW_PRIORITY_CLASS ( 3 )
114 #define DFS_GLOBAL_LOW_PRIORITY_CLASS ( 4 )
118 struct dfs_Target_Priority
{
119 enum dfs_Target_PriorityClass target_priority_class
;
120 uint16_t target_priority_rank
;
124 struct dfs_StorageInfo2
{
125 struct dfs_StorageInfo info
;
126 struct dfs_Target_Priority target_priority
;
130 const char *entry_path
;/* [unique,charset(UTF16)] */
131 const char *comment
;/* [unique,charset(UTF16)] */
138 struct dfs_StorageInfo2
*stores
;/* [unique,size_is(num_stores)] */
142 struct GUID generation_guid
;
146 const char *comment
;/* [unique,charset(UTF16)] */
162 struct dfs_Target_Priority priority
;
166 const char *comment
;/* [unique,charset(UTF16)] */
169 uint32_t property_flag_mask
;
170 uint32_t property_flags
;
175 struct dfs_Target_Priority priority
;
179 const char *dom_root
;/* [unique,charset(UTF16)] */
182 enum dfs_VolumeFlavor
183 #ifndef USE_UINT_ENUMS
185 DFS_VOLUME_FLAVOR_STANDALONE
=0x100,
186 DFS_VOLUME_FLAVOR_AD_BLOB
=0x200
189 { __donnot_use_enum_dfs_VolumeFlavor
=0x7FFFFFFF}
190 #define DFS_VOLUME_FLAVOR_STANDALONE ( 0x100 )
191 #define DFS_VOLUME_FLAVOR_AD_BLOB ( 0x200 )
196 enum dfs_VolumeFlavor flavor
;
197 const char *dom_root
;/* [unique,charset(UTF16)] */
201 struct dfs_Info0
*info0
;/* [unique,case(0)] */
202 struct dfs_Info1
*info1
;/* [unique,case] */
203 struct dfs_Info2
*info2
;/* [unique,case(2)] */
204 struct dfs_Info3
*info3
;/* [unique,case(3)] */
205 struct dfs_Info4
*info4
;/* [unique,case(4)] */
206 struct dfs_Info5
*info5
;/* [unique,case(5)] */
207 struct dfs_Info6
*info6
;/* [unique,case(6)] */
208 struct dfs_Info7
*info7
;/* [unique,case(7)] */
209 struct dfs_Info100
*info100
;/* [unique,case(100)] */
210 struct dfs_Info101
*info101
;/* [unique,case(101)] */
211 struct dfs_Info102
*info102
;/* [unique,case(102)] */
212 struct dfs_Info103
*info103
;/* [unique,case(103)] */
213 struct dfs_Info104
*info104
;/* [unique,case(104)] */
214 struct dfs_Info105
*info105
;/* [unique,case(105)] */
215 struct dfs_Info106
*info106
;/* [unique,case(106)] */
218 struct dfs_EnumArray1
{
220 struct dfs_Info1
*s
;/* [unique,size_is(count)] */
223 struct dfs_EnumArray2
{
225 struct dfs_Info2
*s
;/* [unique,size_is(count)] */
228 struct dfs_EnumArray3
{
230 struct dfs_Info3
*s
;/* [unique,size_is(count)] */
233 struct dfs_EnumArray4
{
235 struct dfs_Info4
*s
;/* [unique,size_is(count)] */
238 struct dfs_EnumArray5
{
240 struct dfs_Info5
*s
;/* [unique,size_is(count)] */
243 struct dfs_EnumArray6
{
245 struct dfs_Info6
*s
;/* [unique,size_is(count)] */
248 struct dfs_EnumArray200
{
250 struct dfs_Info200
*s
;/* [unique,size_is(count)] */
253 struct dfs_EnumArray300
{
255 struct dfs_Info300
*s
;/* [unique,size_is(count)] */
259 struct dfs_EnumArray1
*info1
;/* [unique,case] */
260 struct dfs_EnumArray2
*info2
;/* [unique,case(2)] */
261 struct dfs_EnumArray3
*info3
;/* [unique,case(3)] */
262 struct dfs_EnumArray4
*info4
;/* [unique,case(4)] */
263 struct dfs_EnumArray5
*info5
;/* [unique,case(5)] */
264 struct dfs_EnumArray6
*info6
;/* [unique,case(6)] */
265 struct dfs_EnumArray200
*info200
;/* [unique,case(200)] */
266 struct dfs_EnumArray300
*info300
;/* [unique,case(300)] */
269 struct dfs_EnumStruct
{
271 union dfs_EnumInfo e
;/* [switch_is(level)] */
274 struct dfs_UnknownStruct
{
276 const char *unknown2
;/* [unique,charset(UTF16)] */
280 struct dfs_GetManagerVersion
{
282 enum dfs_ManagerVersion
*version
;/* [ref] */
290 const char *path
;/* [ref,charset(UTF16)] */
291 const char *server
;/* [ref,charset(UTF16)] */
292 const char *share
;/* [unique,charset(UTF16)] */
293 const char *comment
;/* [unique,charset(UTF16)] */
306 const char *dfs_entry_path
;/* [ref,charset(UTF16)] */
307 const char *servername
;/* [unique,charset(UTF16)] */
308 const char *sharename
;/* [unique,charset(UTF16)] */
320 const char *dfs_entry_path
;/* [charset(UTF16)] */
321 const char *servername
;/* [unique,charset(UTF16)] */
322 const char *sharename
;/* [unique,charset(UTF16)] */
324 union dfs_Info
*info
;/* [ref,switch_is(level)] */
336 const char *dfs_entry_path
;/* [charset(UTF16)] */
337 const char *servername
;/* [unique,charset(UTF16)] */
338 const char *sharename
;/* [unique,charset(UTF16)] */
343 union dfs_Info
*info
;/* [ref,switch_is(level)] */
354 struct dfs_EnumStruct
*info
;/* [unique] */
355 uint32_t *total
;/* [unique] */
359 struct dfs_EnumStruct
*info
;/* [unique] */
360 uint32_t *total
;/* [unique] */
383 struct dfs_ManagerGetConfigInfo
{
391 struct dfs_ManagerSendSiteInfo
{
399 struct dfs_AddFtRoot
{
401 const char *servername
;/* [charset(UTF16)] */
402 const char *dns_servername
;/* [charset(UTF16)] */
403 const char *dfsname
;/* [charset(UTF16)] */
404 const char *rootshare
;/* [charset(UTF16)] */
405 const char *comment
;/* [charset(UTF16)] */
406 const char *dfs_config_dn
;/* [charset(UTF16)] */
409 struct dfs_UnknownStruct
**unknown2
;/* [unique] */
413 struct dfs_UnknownStruct
**unknown2
;/* [unique] */
420 struct dfs_RemoveFtRoot
{
422 const char *servername
;/* [charset(UTF16)] */
423 const char *dns_servername
;/* [charset(UTF16)] */
424 const char *dfsname
;/* [charset(UTF16)] */
425 const char *rootshare
;/* [charset(UTF16)] */
427 struct dfs_UnknownStruct
**unknown
;/* [unique] */
431 struct dfs_UnknownStruct
**unknown
;/* [unique] */
438 struct dfs_AddStdRoot
{
440 const char *servername
;/* [charset(UTF16)] */
441 const char *rootshare
;/* [charset(UTF16)] */
442 const char *comment
;/* [charset(UTF16)] */
453 struct dfs_RemoveStdRoot
{
455 const char *servername
;/* [charset(UTF16)] */
456 const char *rootshare
;/* [charset(UTF16)] */
467 struct dfs_ManagerInitialize
{
469 const char *servername
;/* [ref,charset(UTF16)] */
480 struct dfs_AddStdRootForced
{
482 const char *servername
;/* [charset(UTF16)] */
483 const char *rootshare
;/* [charset(UTF16)] */
484 const char *comment
;/* [charset(UTF16)] */
485 const char *store
;/* [charset(UTF16)] */
495 struct dfs_GetDcAddress
{
497 const char *servername
;/* [charset(UTF16)] */
498 const char **server_fullname
;/* [ref,charset(UTF16)] */
499 uint8_t *is_root
;/* [ref] */
500 uint32_t *ttl
;/* [ref] */
504 const char **server_fullname
;/* [ref,charset(UTF16)] */
505 uint8_t *is_root
;/* [ref] */
506 uint32_t *ttl
;/* [ref] */
513 struct dfs_SetDcAddress
{
515 const char *servername
;/* [charset(UTF16)] */
516 const char *server_fullname
;/* [charset(UTF16)] */
528 struct dfs_FlushFtTable
{
530 const char *servername
;/* [charset(UTF16)] */
531 const char *rootshare
;/* [charset(UTF16)] */
559 const char *dfs_name
;/* [charset(UTF16)] */
562 struct dfs_EnumStruct
*info
;/* [unique] */
563 uint32_t *total
;/* [unique] */
567 struct dfs_EnumStruct
*info
;/* [unique] */
568 uint32_t *total
;/* [unique] */
575 struct dfs_SetInfo2
{
582 #endif /* _HEADER_netdfs */