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
|
#include "../librpc/gen_ndr/ndr_dfs.h"
#ifndef __CLI_NETDFS__
#define __CLI_NETDFS__
struct tevent_req *rpccli_dfs_GetManagerVersion_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
enum dfs_ManagerVersion *_version /* [out] [ref] */);
NTSTATUS rpccli_dfs_GetManagerVersion_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_dfs_GetManagerVersion(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
enum dfs_ManagerVersion *version /* [out] [ref] */);
struct tevent_req *rpccli_dfs_Add_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_path /* [in] [ref,charset(UTF16)] */,
const char *_server /* [in] [ref,charset(UTF16)] */,
const char *_share /* [in] [unique,charset(UTF16)] */,
const char *_comment /* [in] [unique,charset(UTF16)] */,
uint32_t _flags /* [in] */);
NTSTATUS rpccli_dfs_Add_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_Add(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *path /* [in] [ref,charset(UTF16)] */,
const char *server /* [in] [ref,charset(UTF16)] */,
const char *share /* [in] [unique,charset(UTF16)] */,
const char *comment /* [in] [unique,charset(UTF16)] */,
uint32_t flags /* [in] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_Remove_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_dfs_entry_path /* [in] [ref,charset(UTF16)] */,
const char *_servername /* [in] [unique,charset(UTF16)] */,
const char *_sharename /* [in] [unique,charset(UTF16)] */);
NTSTATUS rpccli_dfs_Remove_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_Remove(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *dfs_entry_path /* [in] [ref,charset(UTF16)] */,
const char *servername /* [in] [unique,charset(UTF16)] */,
const char *sharename /* [in] [unique,charset(UTF16)] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_SetInfo_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_dfs_entry_path /* [in] [charset(UTF16)] */,
const char *_servername /* [in] [unique,charset(UTF16)] */,
const char *_sharename /* [in] [unique,charset(UTF16)] */,
uint32_t _level /* [in] */,
union dfs_Info *_info /* [in] [ref,switch_is(level)] */);
NTSTATUS rpccli_dfs_SetInfo_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_SetInfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *dfs_entry_path /* [in] [charset(UTF16)] */,
const char *servername /* [in] [unique,charset(UTF16)] */,
const char *sharename /* [in] [unique,charset(UTF16)] */,
uint32_t level /* [in] */,
union dfs_Info *info /* [in] [ref,switch_is(level)] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_GetInfo_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_dfs_entry_path /* [in] [charset(UTF16)] */,
const char *_servername /* [in] [unique,charset(UTF16)] */,
const char *_sharename /* [in] [unique,charset(UTF16)] */,
uint32_t _level /* [in] */,
union dfs_Info *_info /* [out] [ref,switch_is(level)] */);
NTSTATUS rpccli_dfs_GetInfo_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_GetInfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *dfs_entry_path /* [in] [charset(UTF16)] */,
const char *servername /* [in] [unique,charset(UTF16)] */,
const char *sharename /* [in] [unique,charset(UTF16)] */,
uint32_t level /* [in] */,
union dfs_Info *info /* [out] [ref,switch_is(level)] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_Enum_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
uint32_t _level /* [in] */,
uint32_t _bufsize /* [in] */,
struct dfs_EnumStruct *_info /* [in,out] [unique] */,
uint32_t *_total /* [in,out] [unique] */);
NTSTATUS rpccli_dfs_Enum_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
uint32_t level /* [in] */,
uint32_t bufsize /* [in] */,
struct dfs_EnumStruct *info /* [in,out] [unique] */,
uint32_t *total /* [in,out] [unique] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_Rename_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli);
NTSTATUS rpccli_dfs_Rename_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_Rename(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
struct tevent_req *rpccli_dfs_Move_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli);
NTSTATUS rpccli_dfs_Move_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_Move(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
struct tevent_req *rpccli_dfs_ManagerGetConfigInfo_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli);
NTSTATUS rpccli_dfs_ManagerGetConfigInfo_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_ManagerGetConfigInfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
struct tevent_req *rpccli_dfs_ManagerSendSiteInfo_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli);
NTSTATUS rpccli_dfs_ManagerSendSiteInfo_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_ManagerSendSiteInfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
struct tevent_req *rpccli_dfs_AddFtRoot_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_servername /* [in] [charset(UTF16)] */,
const char *_dns_servername /* [in] [charset(UTF16)] */,
const char *_dfsname /* [in] [charset(UTF16)] */,
const char *_rootshare /* [in] [charset(UTF16)] */,
const char *_comment /* [in] [charset(UTF16)] */,
const char *_dfs_config_dn /* [in] [charset(UTF16)] */,
uint8_t _unknown1 /* [in] */,
uint32_t _flags /* [in] */,
struct dfs_UnknownStruct **_unknown2 /* [in,out] [unique] */);
NTSTATUS rpccli_dfs_AddFtRoot_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_AddFtRoot(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *servername /* [in] [charset(UTF16)] */,
const char *dns_servername /* [in] [charset(UTF16)] */,
const char *dfsname /* [in] [charset(UTF16)] */,
const char *rootshare /* [in] [charset(UTF16)] */,
const char *comment /* [in] [charset(UTF16)] */,
const char *dfs_config_dn /* [in] [charset(UTF16)] */,
uint8_t unknown1 /* [in] */,
uint32_t flags /* [in] */,
struct dfs_UnknownStruct **unknown2 /* [in,out] [unique] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_RemoveFtRoot_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_servername /* [in] [charset(UTF16)] */,
const char *_dns_servername /* [in] [charset(UTF16)] */,
const char *_dfsname /* [in] [charset(UTF16)] */,
const char *_rootshare /* [in] [charset(UTF16)] */,
uint32_t _flags /* [in] */,
struct dfs_UnknownStruct **_unknown /* [in,out] [unique] */);
NTSTATUS rpccli_dfs_RemoveFtRoot_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_RemoveFtRoot(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *servername /* [in] [charset(UTF16)] */,
const char *dns_servername /* [in] [charset(UTF16)] */,
const char *dfsname /* [in] [charset(UTF16)] */,
const char *rootshare /* [in] [charset(UTF16)] */,
uint32_t flags /* [in] */,
struct dfs_UnknownStruct **unknown /* [in,out] [unique] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_AddStdRoot_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_servername /* [in] [charset(UTF16)] */,
const char *_rootshare /* [in] [charset(UTF16)] */,
const char *_comment /* [in] [charset(UTF16)] */,
uint32_t _flags /* [in] */);
NTSTATUS rpccli_dfs_AddStdRoot_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_AddStdRoot(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *servername /* [in] [charset(UTF16)] */,
const char *rootshare /* [in] [charset(UTF16)] */,
const char *comment /* [in] [charset(UTF16)] */,
uint32_t flags /* [in] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_RemoveStdRoot_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_servername /* [in] [charset(UTF16)] */,
const char *_rootshare /* [in] [charset(UTF16)] */,
uint32_t _flags /* [in] */);
NTSTATUS rpccli_dfs_RemoveStdRoot_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_RemoveStdRoot(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *servername /* [in] [charset(UTF16)] */,
const char *rootshare /* [in] [charset(UTF16)] */,
uint32_t flags /* [in] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_ManagerInitialize_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_servername /* [in] [ref,charset(UTF16)] */,
uint32_t _flags /* [in] */);
NTSTATUS rpccli_dfs_ManagerInitialize_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_ManagerInitialize(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *servername /* [in] [ref,charset(UTF16)] */,
uint32_t flags /* [in] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_AddStdRootForced_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_servername /* [in] [charset(UTF16)] */,
const char *_rootshare /* [in] [charset(UTF16)] */,
const char *_comment /* [in] [charset(UTF16)] */,
const char *_store /* [in] [charset(UTF16)] */);
NTSTATUS rpccli_dfs_AddStdRootForced_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_AddStdRootForced(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *servername /* [in] [charset(UTF16)] */,
const char *rootshare /* [in] [charset(UTF16)] */,
const char *comment /* [in] [charset(UTF16)] */,
const char *store /* [in] [charset(UTF16)] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_GetDcAddress_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_servername /* [in] [charset(UTF16)] */,
const char **_server_fullname /* [in,out] [ref,charset(UTF16)] */,
uint8_t *_is_root /* [in,out] [ref] */,
uint32_t *_ttl /* [in,out] [ref] */);
NTSTATUS rpccli_dfs_GetDcAddress_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *servername /* [in] [charset(UTF16)] */,
const char **server_fullname /* [in,out] [ref,charset(UTF16)] */,
uint8_t *is_root /* [in,out] [ref] */,
uint32_t *ttl /* [in,out] [ref] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_SetDcAddress_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_servername /* [in] [charset(UTF16)] */,
const char *_server_fullname /* [in] [charset(UTF16)] */,
uint32_t _flags /* [in] */,
uint32_t _ttl /* [in] */);
NTSTATUS rpccli_dfs_SetDcAddress_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_SetDcAddress(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *servername /* [in] [charset(UTF16)] */,
const char *server_fullname /* [in] [charset(UTF16)] */,
uint32_t flags /* [in] */,
uint32_t ttl /* [in] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_FlushFtTable_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_servername /* [in] [charset(UTF16)] */,
const char *_rootshare /* [in] [charset(UTF16)] */);
NTSTATUS rpccli_dfs_FlushFtTable_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_FlushFtTable(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *servername /* [in] [charset(UTF16)] */,
const char *rootshare /* [in] [charset(UTF16)] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_Add2_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli);
NTSTATUS rpccli_dfs_Add2_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_Add2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
struct tevent_req *rpccli_dfs_Remove2_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli);
NTSTATUS rpccli_dfs_Remove2_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_Remove2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
struct tevent_req *rpccli_dfs_EnumEx_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
const char *_dfs_name /* [in] [charset(UTF16)] */,
uint32_t _level /* [in] */,
uint32_t _bufsize /* [in] */,
struct dfs_EnumStruct *_info /* [in,out] [unique] */,
uint32_t *_total /* [in,out] [unique] */);
NTSTATUS rpccli_dfs_EnumEx_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const char *dfs_name /* [in] [charset(UTF16)] */,
uint32_t level /* [in] */,
uint32_t bufsize /* [in] */,
struct dfs_EnumStruct *info /* [in,out] [unique] */,
uint32_t *total /* [in,out] [unique] */,
WERROR *werror);
struct tevent_req *rpccli_dfs_SetInfo2_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli);
NTSTATUS rpccli_dfs_SetInfo2_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
WERROR *result);
NTSTATUS rpccli_dfs_SetInfo2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
#endif /* __CLI_NETDFS__ */
|