1 /* header auto-generated by pidl */
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/misc.h"
11 #define DFS_STORAGE_STATES ( 0xf )
12 enum dfs_ManagerVersion
13 #ifndef USE_UINT_ENUMS
15 DFS_MANAGER_VERSION_NT4
=(int)(1),
16 DFS_MANAGER_VERSION_W2K
=(int)(2),
17 DFS_MANAGER_VERSION_W2K3
=(int)(4),
18 DFS_MANAGER_VERSION_W2K8
=(int)(6)
21 { __donnot_use_enum_dfs_ManagerVersion
=0x7FFFFFFF}
22 #define DFS_MANAGER_VERSION_NT4 ( 1 )
23 #define DFS_MANAGER_VERSION_W2K ( 2 )
24 #define DFS_MANAGER_VERSION_W2K3 ( 4 )
25 #define DFS_MANAGER_VERSION_W2K8 ( 6 )
34 const char *path
;/* [unique,charset(UTF16)] */
37 /* bitmap dfs_VolumeState */
38 #define DFS_VOLUME_STATE_OK ( 0x1 )
39 #define DFS_VOLUME_STATE_INCONSISTENT ( 0x2 )
40 #define DFS_VOLUME_STATE_OFFLINE ( 0x3 )
41 #define DFS_VOLUME_STATE_ONLINE ( 0x4 )
42 #define DFS_VOLUME_STATE_STANDALONE ( DFS_VOLUME_FLAVOR_STANDALONE )
43 #define DFS_VOLUME_STATE_AD_BLOB ( DFS_VOLUME_FLAVOR_AD_BLOB )
46 const char *path
;/* [unique,charset(UTF16)] */
47 const char *comment
;/* [unique,charset(UTF16)] */
52 /* bitmap dfs_StorageState */
53 #define DFS_STORAGE_STATE_OFFLINE ( 1 )
54 #define DFS_STORAGE_STATE_ONLINE ( 2 )
55 #define DFS_STORAGE_STATE_ACTIVE ( 4 )
57 struct dfs_StorageInfo
{
59 const char *server
;/* [unique,charset(UTF16)] */
60 const char *share
;/* [unique,charset(UTF16)] */
64 const char *path
;/* [unique,charset(UTF16)] */
65 const char *comment
;/* [unique,charset(UTF16)] */
68 struct dfs_StorageInfo
*stores
;/* [unique,size_is(num_stores)] */
72 const char *path
;/* [unique,charset(UTF16)] */
73 const char *comment
;/* [unique,charset(UTF16)] */
78 struct dfs_StorageInfo
*stores
;/* [unique,size_is(num_stores)] */
81 /* bitmap dfs_PropertyFlags */
82 #define DFS_PROPERTY_FLAG_INSITE_REFERRALS ( 0x01 )
83 #define DFS_PROPERTY_FLAG_ROOT_SCALABILITY ( 0x02 )
84 #define DFS_PROPERTY_FLAG_SITE_COSTING ( 0x04 )
85 #define DFS_PROPERTY_FLAG_TARGET_FAILBACK ( 0x08 )
86 #define DFS_PROPERTY_FLAG_CLUSTER_ENABLED ( 0x10 )
89 const char *path
;/* [unique,charset(UTF16)] */
90 const char *comment
;/* [unique,charset(UTF16)] */
99 enum dfs_Target_PriorityClass
100 #ifndef USE_UINT_ENUMS
102 DFS_INVALID_PRIORITY_CLASS
=(int)(-1),
103 DFS_SITE_COST_NORMAL_PRIORITY_CLASS
=(int)(0),
104 DFS_GLOBAL_HIGH_PRIORITY_CLASS
=(int)(1),
105 DFS_SITE_COST_HIGH_PRIORITY_CLASS
=(int)(2),
106 DFS_SITE_COST_LOW_PRIORITY_CLASS
=(int)(3),
107 DFS_GLOBAL_LOW_PRIORITY_CLASS
=(int)(4)
110 { __donnot_use_enum_dfs_Target_PriorityClass
=0x7FFFFFFF}
111 #define DFS_INVALID_PRIORITY_CLASS ( -1 )
112 #define DFS_SITE_COST_NORMAL_PRIORITY_CLASS ( 0 )
113 #define DFS_GLOBAL_HIGH_PRIORITY_CLASS ( 1 )
114 #define DFS_SITE_COST_HIGH_PRIORITY_CLASS ( 2 )
115 #define DFS_SITE_COST_LOW_PRIORITY_CLASS ( 3 )
116 #define DFS_GLOBAL_LOW_PRIORITY_CLASS ( 4 )
120 struct dfs_Target_Priority
{
121 enum dfs_Target_PriorityClass target_priority_class
;
122 uint16_t target_priority_rank
;
126 struct dfs_StorageInfo2
{
127 struct dfs_StorageInfo info
;
128 struct dfs_Target_Priority target_priority
;
132 const char *entry_path
;/* [unique,charset(UTF16)] */
133 const char *comment
;/* [unique,charset(UTF16)] */
140 struct dfs_StorageInfo2
*stores
;/* [unique,size_is(num_stores)] */
144 struct GUID generation_guid
;
148 const char *comment
;/* [unique,charset(UTF16)] */
164 struct dfs_Target_Priority priority
;
168 const char *comment
;/* [unique,charset(UTF16)] */
171 uint32_t property_flag_mask
;
172 uint32_t property_flags
;
177 struct dfs_Target_Priority priority
;
181 const char *dom_root
;/* [unique,charset(UTF16)] */
184 enum dfs_VolumeFlavor
185 #ifndef USE_UINT_ENUMS
187 DFS_VOLUME_FLAVOR_STANDALONE
=(int)(0x100),
188 DFS_VOLUME_FLAVOR_AD_BLOB
=(int)(0x200)
191 { __donnot_use_enum_dfs_VolumeFlavor
=0x7FFFFFFF}
192 #define DFS_VOLUME_FLAVOR_STANDALONE ( 0x100 )
193 #define DFS_VOLUME_FLAVOR_AD_BLOB ( 0x200 )
198 enum dfs_VolumeFlavor flavor
;
199 const char *dom_root
;/* [unique,charset(UTF16)] */
203 struct dfs_Info0
*info0
;/* [unique,case(0)] */
204 struct dfs_Info1
*info1
;/* [unique,case] */
205 struct dfs_Info2
*info2
;/* [unique,case(2)] */
206 struct dfs_Info3
*info3
;/* [unique,case(3)] */
207 struct dfs_Info4
*info4
;/* [unique,case(4)] */
208 struct dfs_Info5
*info5
;/* [unique,case(5)] */
209 struct dfs_Info6
*info6
;/* [unique,case(6)] */
210 struct dfs_Info7
*info7
;/* [unique,case(7)] */
211 struct dfs_Info100
*info100
;/* [unique,case(100)] */
212 struct dfs_Info101
*info101
;/* [unique,case(101)] */
213 struct dfs_Info102
*info102
;/* [unique,case(102)] */
214 struct dfs_Info103
*info103
;/* [unique,case(103)] */
215 struct dfs_Info104
*info104
;/* [unique,case(104)] */
216 struct dfs_Info105
*info105
;/* [unique,case(105)] */
217 struct dfs_Info106
*info106
;/* [unique,case(106)] */
220 struct dfs_EnumArray1
{
222 struct dfs_Info1
*s
;/* [unique,size_is(count)] */
225 struct dfs_EnumArray2
{
227 struct dfs_Info2
*s
;/* [unique,size_is(count)] */
230 struct dfs_EnumArray3
{
232 struct dfs_Info3
*s
;/* [unique,size_is(count)] */
235 struct dfs_EnumArray4
{
237 struct dfs_Info4
*s
;/* [unique,size_is(count)] */
240 struct dfs_EnumArray5
{
242 struct dfs_Info5
*s
;/* [unique,size_is(count)] */
245 struct dfs_EnumArray6
{
247 struct dfs_Info6
*s
;/* [unique,size_is(count)] */
250 struct dfs_EnumArray200
{
252 struct dfs_Info200
*s
;/* [unique,size_is(count)] */
255 struct dfs_EnumArray300
{
257 struct dfs_Info300
*s
;/* [unique,size_is(count)] */
261 struct dfs_EnumArray1
*info1
;/* [unique,case] */
262 struct dfs_EnumArray2
*info2
;/* [unique,case(2)] */
263 struct dfs_EnumArray3
*info3
;/* [unique,case(3)] */
264 struct dfs_EnumArray4
*info4
;/* [unique,case(4)] */
265 struct dfs_EnumArray5
*info5
;/* [unique,case(5)] */
266 struct dfs_EnumArray6
*info6
;/* [unique,case(6)] */
267 struct dfs_EnumArray200
*info200
;/* [unique,case(200)] */
268 struct dfs_EnumArray300
*info300
;/* [unique,case(300)] */
271 struct dfs_EnumStruct
{
273 union dfs_EnumInfo e
;/* [switch_is(level)] */
276 struct dfs_UnknownStruct
{
278 const char *unknown2
;/* [unique,charset(UTF16)] */
282 struct dfs_GetManagerVersion
{
284 enum dfs_ManagerVersion
*version
;/* [ref] */
292 const char *path
;/* [ref,charset(UTF16)] */
293 const char *server
;/* [ref,charset(UTF16)] */
294 const char *share
;/* [unique,charset(UTF16)] */
295 const char *comment
;/* [unique,charset(UTF16)] */
308 const char *dfs_entry_path
;/* [ref,charset(UTF16)] */
309 const char *servername
;/* [unique,charset(UTF16)] */
310 const char *sharename
;/* [unique,charset(UTF16)] */
322 const char *dfs_entry_path
;/* [charset(UTF16)] */
323 const char *servername
;/* [unique,charset(UTF16)] */
324 const char *sharename
;/* [unique,charset(UTF16)] */
326 union dfs_Info
*info
;/* [ref,switch_is(level)] */
338 const char *dfs_entry_path
;/* [charset(UTF16)] */
339 const char *servername
;/* [unique,charset(UTF16)] */
340 const char *sharename
;/* [unique,charset(UTF16)] */
345 union dfs_Info
*info
;/* [ref,switch_is(level)] */
356 struct dfs_EnumStruct
*info
;/* [unique] */
357 uint32_t *total
;/* [unique] */
361 struct dfs_EnumStruct
*info
;/* [unique] */
362 uint32_t *total
;/* [unique] */
385 struct dfs_ManagerGetConfigInfo
{
393 struct dfs_ManagerSendSiteInfo
{
401 struct dfs_AddFtRoot
{
403 const char *servername
;/* [charset(UTF16)] */
404 const char *dns_servername
;/* [charset(UTF16)] */
405 const char *dfsname
;/* [charset(UTF16)] */
406 const char *rootshare
;/* [charset(UTF16)] */
407 const char *comment
;/* [charset(UTF16)] */
408 const char *dfs_config_dn
;/* [charset(UTF16)] */
411 struct dfs_UnknownStruct
**unknown2
;/* [unique] */
415 struct dfs_UnknownStruct
**unknown2
;/* [unique] */
422 struct dfs_RemoveFtRoot
{
424 const char *servername
;/* [charset(UTF16)] */
425 const char *dns_servername
;/* [charset(UTF16)] */
426 const char *dfsname
;/* [charset(UTF16)] */
427 const char *rootshare
;/* [charset(UTF16)] */
429 struct dfs_UnknownStruct
**unknown
;/* [unique] */
433 struct dfs_UnknownStruct
**unknown
;/* [unique] */
440 struct dfs_AddStdRoot
{
442 const char *servername
;/* [charset(UTF16)] */
443 const char *rootshare
;/* [charset(UTF16)] */
444 const char *comment
;/* [charset(UTF16)] */
455 struct dfs_RemoveStdRoot
{
457 const char *servername
;/* [charset(UTF16)] */
458 const char *rootshare
;/* [charset(UTF16)] */
469 struct dfs_ManagerInitialize
{
471 const char *servername
;/* [ref,charset(UTF16)] */
482 struct dfs_AddStdRootForced
{
484 const char *servername
;/* [charset(UTF16)] */
485 const char *rootshare
;/* [charset(UTF16)] */
486 const char *comment
;/* [charset(UTF16)] */
487 const char *store
;/* [charset(UTF16)] */
497 struct dfs_GetDcAddress
{
499 const char *servername
;/* [charset(UTF16)] */
500 const char **server_fullname
;/* [ref,charset(UTF16)] */
501 uint8_t *is_root
;/* [ref] */
502 uint32_t *ttl
;/* [ref] */
506 const char **server_fullname
;/* [ref,charset(UTF16)] */
507 uint8_t *is_root
;/* [ref] */
508 uint32_t *ttl
;/* [ref] */
515 struct dfs_SetDcAddress
{
517 const char *servername
;/* [charset(UTF16)] */
518 const char *server_fullname
;/* [charset(UTF16)] */
530 struct dfs_FlushFtTable
{
532 const char *servername
;/* [charset(UTF16)] */
533 const char *rootshare
;/* [charset(UTF16)] */
561 const char *dfs_name
;/* [charset(UTF16)] */
564 struct dfs_EnumStruct
*info
;/* [unique] */
565 uint32_t *total
;/* [unique] */
569 struct dfs_EnumStruct
*info
;/* [unique] */
570 uint32_t *total
;/* [unique] */
577 struct dfs_SetInfo2
{
584 #endif /* _HEADER_netdfs */