summaryrefslogtreecommitdiff
path: root/source3/include/rpc_dfs.h
blob: e78db52254ef1b15a587a8fd0bb29b29ba53e7a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
/*
 * Unix SMB/CIFS implementation.
 * header auto-generated by pidl. DO NOT MODIFY!
 */


#ifndef _RPC_NETDFS_H
#define _RPC_NETDFS_H

#define DFS_GETMANAGERVERSION 0
#define DFS_ADD 1
#define DFS_REMOVE 2
#define DFS_SETINFO 3
#define DFS_GETINFO 4
#define DFS_ENUM 5
#define DFS_RENAME 6
#define DFS_MOVE 7
#define DFS_MANAGERGETCONFIGINFO 8
#define DFS_MANAGERSENDSITEINFO 9
#define DFS_ADDFTROOT 10
#define DFS_REMOVEFTROOT 11
#define DFS_ADDSTDROOT 12
#define DFS_REMOVESTDROOT 13
#define DFS_MANAGERINITIALIZE 14
#define DFS_ADDSTDROOTFORCED 15
#define DFS_GETDCADDRESS 16
#define DFS_SETDCADDRESS 17
#define DFS_FLUSHFTTABLE 18
#define DFS_ADD2 19
#define DFS_REMOVE2 20
#define DFS_ENUMEX 21
#define DFS_SETINFO2 22

typedef struct netdfs_dfs_Info0 {
	uint32 dummy;
} NETDFS_DFS_INFO0;

typedef struct netdfs_dfs_Info1 {
	uint32 ptr0_path;
	UNISTR2 path;
} NETDFS_DFS_INFO1;

typedef struct netdfs_dfs_Info2 {
	uint32 ptr0_path;
	UNISTR2 path;
	uint32 ptr0_comment;
	UNISTR2 comment;
	uint32 state;
	uint32 num_stores;
} NETDFS_DFS_INFO2;

typedef struct netdfs_dfs_StorageInfo {
	uint32 state;
	uint32 ptr0_server;
	UNISTR2 server;
	uint32 ptr0_share;
	UNISTR2 share;
} NETDFS_DFS_STORAGEINFO;

typedef struct netdfs_dfs_Info3 {
	uint32 ptr0_path;
	UNISTR2 path;
	uint32 ptr0_comment;
	UNISTR2 comment;
	uint32 state;
	uint32 num_stores;
	uint32 ptr0_stores;
	uint32 size_stores;
	NETDFS_DFS_STORAGEINFO *stores;
} NETDFS_DFS_INFO3;

typedef struct netdfs_dfs_Info4 {
	uint32 ptr0_path;
	UNISTR2 path;
	uint32 ptr0_comment;
	UNISTR2 comment;
	uint32 state;
	uint32 timeout;
	struct uuid guid;
	uint32 num_stores;
	uint32 ptr0_stores;
	uint32 size_stores;
	NETDFS_DFS_STORAGEINFO *stores;
} NETDFS_DFS_INFO4;

typedef struct netdfs_dfs_Info100 {
	uint32 ptr0_comment;
	UNISTR2 comment;
} NETDFS_DFS_INFO100;

typedef struct netdfs_dfs_Info101 {
	uint32 state;
} NETDFS_DFS_INFO101;

typedef struct netdfs_dfs_Info102 {
	uint32 timeout;
} NETDFS_DFS_INFO102;

typedef struct netdfs_dfs_Info200 {
	uint32 ptr0_dom_root;
	UNISTR2 dom_root;
} NETDFS_DFS_INFO200;

typedef struct netdfs_dfs_Info300 {
	uint32 flags;
	uint32 ptr0_dom_root;
	UNISTR2 dom_root;
} NETDFS_DFS_INFO300;

typedef struct netdfs_dfs_Info_ctr {
	uint32 switch_value;
	uint32 ptr0;
	union netdfs_dfs_Info {
			NETDFS_DFS_INFO0 info0;
			NETDFS_DFS_INFO1 info1;
			NETDFS_DFS_INFO2 info2;
			NETDFS_DFS_INFO3 info3;
			NETDFS_DFS_INFO4 info4;
			NETDFS_DFS_INFO100 info100;
			NETDFS_DFS_INFO101 info101;
			NETDFS_DFS_INFO102 info102;
	} u;
} NETDFS_DFS_INFO_CTR;

typedef struct netdfs_dfs_EnumArray1 {
	uint32 count;
	uint32 ptr0_s;
	uint32 size_s;
	NETDFS_DFS_INFO1 *s;
} NETDFS_DFS_ENUMARRAY1;

typedef struct netdfs_dfs_EnumArray2 {
	uint32 count;
	uint32 ptr0_s;
	uint32 size_s;
	NETDFS_DFS_INFO2 *s;
} NETDFS_DFS_ENUMARRAY2;

typedef struct netdfs_dfs_EnumArray3 {
	uint32 count;
	uint32 ptr0_s;
	uint32 size_s;
	NETDFS_DFS_INFO3 *s;
} NETDFS_DFS_ENUMARRAY3;

typedef struct netdfs_dfs_EnumArray4 {
	uint32 count;
	uint32 ptr0_s;
	uint32 size_s;
	NETDFS_DFS_INFO4 *s;
} NETDFS_DFS_ENUMARRAY4;

typedef struct netdfs_dfs_EnumArray200 {
	uint32 count;
	uint32 ptr0_s;
	uint32 size_s;
	NETDFS_DFS_INFO200 *s;
} NETDFS_DFS_ENUMARRAY200;

typedef struct netdfs_dfs_EnumArray300 {
	uint32 count;
	uint32 ptr0_s;
	uint32 size_s;
	NETDFS_DFS_INFO300 *s;
} NETDFS_DFS_ENUMARRAY300;

typedef struct netdfs_dfs_EnumInfo_ctr {
	uint32 switch_value;
	uint32 ptr0;
	union netdfs_dfs_EnumInfo {
			NETDFS_DFS_ENUMARRAY1 info1;
			NETDFS_DFS_ENUMARRAY2 info2;
			NETDFS_DFS_ENUMARRAY3 info3;
			NETDFS_DFS_ENUMARRAY4 info4;
			NETDFS_DFS_ENUMARRAY200 info200;
			NETDFS_DFS_ENUMARRAY300 info300;
	} u;
} NETDFS_DFS_ENUMINFO_CTR;

typedef struct netdfs_dfs_EnumStruct {
	uint32 level;
	NETDFS_DFS_ENUMINFO_CTR e;
} NETDFS_DFS_ENUMSTRUCT;

typedef struct netdfs_q_dfs_GetManagerVersion {
	uint32 dummy;
} NETDFS_Q_DFS_GETMANAGERVERSION;

typedef struct netdfs_r_dfs_GetManagerVersion {
	uint32 exist_flag;
} NETDFS_R_DFS_GETMANAGERVERSION;

typedef struct netdfs_q_dfs_Add {
	UNISTR2 path;
	UNISTR2 server;
	uint32 ptr0_share;
	UNISTR2 share;
	uint32 ptr0_comment;
	UNISTR2 comment;
	uint32 flags;
} NETDFS_Q_DFS_ADD;

typedef struct netdfs_r_dfs_Add {
	WERROR status;
} NETDFS_R_DFS_ADD;

typedef struct netdfs_q_dfs_Remove {
	UNISTR2 path;
	uint32 ptr0_server;
	UNISTR2 server;
	uint32 ptr0_share;
	UNISTR2 share;
} NETDFS_Q_DFS_REMOVE;

typedef struct netdfs_r_dfs_Remove {
	WERROR status;
} NETDFS_R_DFS_REMOVE;

typedef struct netdfs_q_dfs_SetInfo {
	uint32 dummy;
} NETDFS_Q_DFS_SETINFO;

typedef struct netdfs_r_dfs_SetInfo {
	WERROR status;
} NETDFS_R_DFS_SETINFO;

typedef struct netdfs_q_dfs_GetInfo {
	UNISTR2 path;
	uint32 ptr0_server;
	UNISTR2 server;
	uint32 ptr0_share;
	UNISTR2 share;
	uint32 level;
} NETDFS_Q_DFS_GETINFO;

typedef struct netdfs_r_dfs_GetInfo {
	NETDFS_DFS_INFO_CTR info;
	WERROR status;
} NETDFS_R_DFS_GETINFO;

typedef struct netdfs_q_dfs_Enum {
	uint32 level;
	uint32 bufsize;
	uint32 ptr0_info;
	NETDFS_DFS_ENUMSTRUCT info;
	uint32 ptr0_total;
	uint32 total;
} NETDFS_Q_DFS_ENUM;

typedef struct netdfs_r_dfs_Enum {
	uint32 ptr0_info;
	NETDFS_DFS_ENUMSTRUCT info;
	uint32 ptr0_total;
	uint32 total;
	WERROR status;
} NETDFS_R_DFS_ENUM;

typedef struct netdfs_q_dfs_Rename {
	uint32 dummy;
} NETDFS_Q_DFS_RENAME;

typedef struct netdfs_r_dfs_Rename {
	WERROR status;
} NETDFS_R_DFS_RENAME;

typedef struct netdfs_q_dfs_Move {
	uint32 dummy;
} NETDFS_Q_DFS_MOVE;

typedef struct netdfs_r_dfs_Move {
	WERROR status;
} NETDFS_R_DFS_MOVE;

typedef struct netdfs_q_dfs_ManagerGetConfigInfo {
	uint32 dummy;
} NETDFS_Q_DFS_MANAGERGETCONFIGINFO;

typedef struct netdfs_r_dfs_ManagerGetConfigInfo {
	WERROR status;
} NETDFS_R_DFS_MANAGERGETCONFIGINFO;

typedef struct netdfs_q_dfs_ManagerSendSiteInfo {
	uint32 dummy;
} NETDFS_Q_DFS_MANAGERSENDSITEINFO;

typedef struct netdfs_r_dfs_ManagerSendSiteInfo {
	WERROR status;
} NETDFS_R_DFS_MANAGERSENDSITEINFO;

typedef struct netdfs_q_dfs_AddFtRoot {
	uint32 dummy;
} NETDFS_Q_DFS_ADDFTROOT;

typedef struct netdfs_r_dfs_AddFtRoot {
	WERROR status;
} NETDFS_R_DFS_ADDFTROOT;

typedef struct netdfs_q_dfs_RemoveFtRoot {
	uint32 dummy;
} NETDFS_Q_DFS_REMOVEFTROOT;

typedef struct netdfs_r_dfs_RemoveFtRoot {
	WERROR status;
} NETDFS_R_DFS_REMOVEFTROOT;

typedef struct netdfs_q_dfs_AddStdRoot {
	uint32 dummy;
} NETDFS_Q_DFS_ADDSTDROOT;

typedef struct netdfs_r_dfs_AddStdRoot {
	WERROR status;
} NETDFS_R_DFS_ADDSTDROOT;

typedef struct netdfs_q_dfs_RemoveStdRoot {
	uint32 dummy;
} NETDFS_Q_DFS_REMOVESTDROOT;

typedef struct netdfs_r_dfs_RemoveStdRoot {
	WERROR status;
} NETDFS_R_DFS_REMOVESTDROOT;

typedef struct netdfs_q_dfs_ManagerInitialize {
	uint32 dummy;
} NETDFS_Q_DFS_MANAGERINITIALIZE;

typedef struct netdfs_r_dfs_ManagerInitialize {
	WERROR status;
} NETDFS_R_DFS_MANAGERINITIALIZE;

typedef struct netdfs_q_dfs_AddStdRootForced {
	uint32 dummy;
} NETDFS_Q_DFS_ADDSTDROOTFORCED;

typedef struct netdfs_r_dfs_AddStdRootForced {
	WERROR status;
} NETDFS_R_DFS_ADDSTDROOTFORCED;

typedef struct netdfs_q_dfs_GetDcAddress {
	uint32 dummy;
} NETDFS_Q_DFS_GETDCADDRESS;

typedef struct netdfs_r_dfs_GetDcAddress {
	WERROR status;
} NETDFS_R_DFS_GETDCADDRESS;

typedef struct netdfs_q_dfs_SetDcAddress {
	uint32 dummy;
} NETDFS_Q_DFS_SETDCADDRESS;

typedef struct netdfs_r_dfs_SetDcAddress {
	WERROR status;
} NETDFS_R_DFS_SETDCADDRESS;

typedef struct netdfs_q_dfs_FlushFtTable {
	uint32 dummy;
} NETDFS_Q_DFS_FLUSHFTTABLE;

typedef struct netdfs_r_dfs_FlushFtTable {
	WERROR status;
} NETDFS_R_DFS_FLUSHFTTABLE;

typedef struct netdfs_q_dfs_Add2 {
	uint32 dummy;
} NETDFS_Q_DFS_ADD2;

typedef struct netdfs_r_dfs_Add2 {
	WERROR status;
} NETDFS_R_DFS_ADD2;

typedef struct netdfs_q_dfs_Remove2 {
	uint32 dummy;
} NETDFS_Q_DFS_REMOVE2;

typedef struct netdfs_r_dfs_Remove2 {
	WERROR status;
} NETDFS_R_DFS_REMOVE2;

typedef struct netdfs_q_dfs_EnumEx {
	uint32 ptr0_dfs_name;
	UNISTR2 dfs_name;
	uint32 level;
	uint32 bufsize;
	uint32 ptr0_info;
	NETDFS_DFS_ENUMSTRUCT info;
	uint32 ptr0_total;
	uint32 total;
} NETDFS_Q_DFS_ENUMEX;

typedef struct netdfs_r_dfs_EnumEx {
	uint32 ptr0_info;
	NETDFS_DFS_ENUMSTRUCT info;
	uint32 ptr0_total;
	uint32 total;
	WERROR status;
} NETDFS_R_DFS_ENUMEX;

typedef struct netdfs_q_dfs_SetInfo2 {
	uint32 dummy;
} NETDFS_Q_DFS_SETINFO2;

typedef struct netdfs_r_dfs_SetInfo2 {
	WERROR status;
} NETDFS_R_DFS_SETINFO2;

#endif /* _RPC_NETDFS_H */