1 #include "../librpc/gen_ndr/ndr_dfs.h"
4 struct tevent_req
*rpccli_dfs_GetManagerVersion_send(TALLOC_CTX
*mem_ctx
,
5 struct tevent_context
*ev
,
6 struct rpc_pipe_client
*cli
,
7 enum dfs_ManagerVersion
*_version
/* [out] [ref] */);
8 NTSTATUS
rpccli_dfs_GetManagerVersion_recv(struct tevent_req
*req
,
10 NTSTATUS
rpccli_dfs_GetManagerVersion(struct rpc_pipe_client
*cli
,
12 enum dfs_ManagerVersion
*version
/* [out] [ref] */);
13 struct tevent_req
*rpccli_dfs_Add_send(TALLOC_CTX
*mem_ctx
,
14 struct tevent_context
*ev
,
15 struct rpc_pipe_client
*cli
,
16 const char *_path
/* [in] [ref,charset(UTF16)] */,
17 const char *_server
/* [in] [ref,charset(UTF16)] */,
18 const char *_share
/* [in] [unique,charset(UTF16)] */,
19 const char *_comment
/* [in] [unique,charset(UTF16)] */,
20 uint32_t _flags
/* [in] */);
21 NTSTATUS
rpccli_dfs_Add_recv(struct tevent_req
*req
,
24 NTSTATUS
rpccli_dfs_Add(struct rpc_pipe_client
*cli
,
26 const char *path
/* [in] [ref,charset(UTF16)] */,
27 const char *server
/* [in] [ref,charset(UTF16)] */,
28 const char *share
/* [in] [unique,charset(UTF16)] */,
29 const char *comment
/* [in] [unique,charset(UTF16)] */,
30 uint32_t flags
/* [in] */,
32 struct tevent_req
*rpccli_dfs_Remove_send(TALLOC_CTX
*mem_ctx
,
33 struct tevent_context
*ev
,
34 struct rpc_pipe_client
*cli
,
35 const char *_dfs_entry_path
/* [in] [ref,charset(UTF16)] */,
36 const char *_servername
/* [in] [unique,charset(UTF16)] */,
37 const char *_sharename
/* [in] [unique,charset(UTF16)] */);
38 NTSTATUS
rpccli_dfs_Remove_recv(struct tevent_req
*req
,
41 NTSTATUS
rpccli_dfs_Remove(struct rpc_pipe_client
*cli
,
43 const char *dfs_entry_path
/* [in] [ref,charset(UTF16)] */,
44 const char *servername
/* [in] [unique,charset(UTF16)] */,
45 const char *sharename
/* [in] [unique,charset(UTF16)] */,
47 struct tevent_req
*rpccli_dfs_SetInfo_send(TALLOC_CTX
*mem_ctx
,
48 struct tevent_context
*ev
,
49 struct rpc_pipe_client
*cli
,
50 const char *_dfs_entry_path
/* [in] [charset(UTF16)] */,
51 const char *_servername
/* [in] [unique,charset(UTF16)] */,
52 const char *_sharename
/* [in] [unique,charset(UTF16)] */,
53 uint32_t _level
/* [in] */,
54 union dfs_Info
*_info
/* [in] [ref,switch_is(level)] */);
55 NTSTATUS
rpccli_dfs_SetInfo_recv(struct tevent_req
*req
,
58 NTSTATUS
rpccli_dfs_SetInfo(struct rpc_pipe_client
*cli
,
60 const char *dfs_entry_path
/* [in] [charset(UTF16)] */,
61 const char *servername
/* [in] [unique,charset(UTF16)] */,
62 const char *sharename
/* [in] [unique,charset(UTF16)] */,
63 uint32_t level
/* [in] */,
64 union dfs_Info
*info
/* [in] [ref,switch_is(level)] */,
66 struct tevent_req
*rpccli_dfs_GetInfo_send(TALLOC_CTX
*mem_ctx
,
67 struct tevent_context
*ev
,
68 struct rpc_pipe_client
*cli
,
69 const char *_dfs_entry_path
/* [in] [charset(UTF16)] */,
70 const char *_servername
/* [in] [unique,charset(UTF16)] */,
71 const char *_sharename
/* [in] [unique,charset(UTF16)] */,
72 uint32_t _level
/* [in] */,
73 union dfs_Info
*_info
/* [out] [ref,switch_is(level)] */);
74 NTSTATUS
rpccli_dfs_GetInfo_recv(struct tevent_req
*req
,
77 NTSTATUS
rpccli_dfs_GetInfo(struct rpc_pipe_client
*cli
,
79 const char *dfs_entry_path
/* [in] [charset(UTF16)] */,
80 const char *servername
/* [in] [unique,charset(UTF16)] */,
81 const char *sharename
/* [in] [unique,charset(UTF16)] */,
82 uint32_t level
/* [in] */,
83 union dfs_Info
*info
/* [out] [ref,switch_is(level)] */,
85 struct tevent_req
*rpccli_dfs_Enum_send(TALLOC_CTX
*mem_ctx
,
86 struct tevent_context
*ev
,
87 struct rpc_pipe_client
*cli
,
88 uint32_t _level
/* [in] */,
89 uint32_t _bufsize
/* [in] */,
90 struct dfs_EnumStruct
*_info
/* [in,out] [unique] */,
91 uint32_t *_total
/* [in,out] [unique] */);
92 NTSTATUS
rpccli_dfs_Enum_recv(struct tevent_req
*req
,
95 NTSTATUS
rpccli_dfs_Enum(struct rpc_pipe_client
*cli
,
97 uint32_t level
/* [in] */,
98 uint32_t bufsize
/* [in] */,
99 struct dfs_EnumStruct
*info
/* [in,out] [unique] */,
100 uint32_t *total
/* [in,out] [unique] */,
102 struct tevent_req
*rpccli_dfs_Rename_send(TALLOC_CTX
*mem_ctx
,
103 struct tevent_context
*ev
,
104 struct rpc_pipe_client
*cli
);
105 NTSTATUS
rpccli_dfs_Rename_recv(struct tevent_req
*req
,
108 NTSTATUS
rpccli_dfs_Rename(struct rpc_pipe_client
*cli
,
111 struct tevent_req
*rpccli_dfs_Move_send(TALLOC_CTX
*mem_ctx
,
112 struct tevent_context
*ev
,
113 struct rpc_pipe_client
*cli
);
114 NTSTATUS
rpccli_dfs_Move_recv(struct tevent_req
*req
,
117 NTSTATUS
rpccli_dfs_Move(struct rpc_pipe_client
*cli
,
120 struct tevent_req
*rpccli_dfs_ManagerGetConfigInfo_send(TALLOC_CTX
*mem_ctx
,
121 struct tevent_context
*ev
,
122 struct rpc_pipe_client
*cli
);
123 NTSTATUS
rpccli_dfs_ManagerGetConfigInfo_recv(struct tevent_req
*req
,
126 NTSTATUS
rpccli_dfs_ManagerGetConfigInfo(struct rpc_pipe_client
*cli
,
129 struct tevent_req
*rpccli_dfs_ManagerSendSiteInfo_send(TALLOC_CTX
*mem_ctx
,
130 struct tevent_context
*ev
,
131 struct rpc_pipe_client
*cli
);
132 NTSTATUS
rpccli_dfs_ManagerSendSiteInfo_recv(struct tevent_req
*req
,
135 NTSTATUS
rpccli_dfs_ManagerSendSiteInfo(struct rpc_pipe_client
*cli
,
138 struct tevent_req
*rpccli_dfs_AddFtRoot_send(TALLOC_CTX
*mem_ctx
,
139 struct tevent_context
*ev
,
140 struct rpc_pipe_client
*cli
,
141 const char *_servername
/* [in] [charset(UTF16)] */,
142 const char *_dns_servername
/* [in] [charset(UTF16)] */,
143 const char *_dfsname
/* [in] [charset(UTF16)] */,
144 const char *_rootshare
/* [in] [charset(UTF16)] */,
145 const char *_comment
/* [in] [charset(UTF16)] */,
146 const char *_dfs_config_dn
/* [in] [charset(UTF16)] */,
147 uint8_t _unknown1
/* [in] */,
148 uint32_t _flags
/* [in] */,
149 struct dfs_UnknownStruct
**_unknown2
/* [in,out] [unique] */);
150 NTSTATUS
rpccli_dfs_AddFtRoot_recv(struct tevent_req
*req
,
153 NTSTATUS
rpccli_dfs_AddFtRoot(struct rpc_pipe_client
*cli
,
155 const char *servername
/* [in] [charset(UTF16)] */,
156 const char *dns_servername
/* [in] [charset(UTF16)] */,
157 const char *dfsname
/* [in] [charset(UTF16)] */,
158 const char *rootshare
/* [in] [charset(UTF16)] */,
159 const char *comment
/* [in] [charset(UTF16)] */,
160 const char *dfs_config_dn
/* [in] [charset(UTF16)] */,
161 uint8_t unknown1
/* [in] */,
162 uint32_t flags
/* [in] */,
163 struct dfs_UnknownStruct
**unknown2
/* [in,out] [unique] */,
165 struct tevent_req
*rpccli_dfs_RemoveFtRoot_send(TALLOC_CTX
*mem_ctx
,
166 struct tevent_context
*ev
,
167 struct rpc_pipe_client
*cli
,
168 const char *_servername
/* [in] [charset(UTF16)] */,
169 const char *_dns_servername
/* [in] [charset(UTF16)] */,
170 const char *_dfsname
/* [in] [charset(UTF16)] */,
171 const char *_rootshare
/* [in] [charset(UTF16)] */,
172 uint32_t _flags
/* [in] */,
173 struct dfs_UnknownStruct
**_unknown
/* [in,out] [unique] */);
174 NTSTATUS
rpccli_dfs_RemoveFtRoot_recv(struct tevent_req
*req
,
177 NTSTATUS
rpccli_dfs_RemoveFtRoot(struct rpc_pipe_client
*cli
,
179 const char *servername
/* [in] [charset(UTF16)] */,
180 const char *dns_servername
/* [in] [charset(UTF16)] */,
181 const char *dfsname
/* [in] [charset(UTF16)] */,
182 const char *rootshare
/* [in] [charset(UTF16)] */,
183 uint32_t flags
/* [in] */,
184 struct dfs_UnknownStruct
**unknown
/* [in,out] [unique] */,
186 struct tevent_req
*rpccli_dfs_AddStdRoot_send(TALLOC_CTX
*mem_ctx
,
187 struct tevent_context
*ev
,
188 struct rpc_pipe_client
*cli
,
189 const char *_servername
/* [in] [charset(UTF16)] */,
190 const char *_rootshare
/* [in] [charset(UTF16)] */,
191 const char *_comment
/* [in] [charset(UTF16)] */,
192 uint32_t _flags
/* [in] */);
193 NTSTATUS
rpccli_dfs_AddStdRoot_recv(struct tevent_req
*req
,
196 NTSTATUS
rpccli_dfs_AddStdRoot(struct rpc_pipe_client
*cli
,
198 const char *servername
/* [in] [charset(UTF16)] */,
199 const char *rootshare
/* [in] [charset(UTF16)] */,
200 const char *comment
/* [in] [charset(UTF16)] */,
201 uint32_t flags
/* [in] */,
203 struct tevent_req
*rpccli_dfs_RemoveStdRoot_send(TALLOC_CTX
*mem_ctx
,
204 struct tevent_context
*ev
,
205 struct rpc_pipe_client
*cli
,
206 const char *_servername
/* [in] [charset(UTF16)] */,
207 const char *_rootshare
/* [in] [charset(UTF16)] */,
208 uint32_t _flags
/* [in] */);
209 NTSTATUS
rpccli_dfs_RemoveStdRoot_recv(struct tevent_req
*req
,
212 NTSTATUS
rpccli_dfs_RemoveStdRoot(struct rpc_pipe_client
*cli
,
214 const char *servername
/* [in] [charset(UTF16)] */,
215 const char *rootshare
/* [in] [charset(UTF16)] */,
216 uint32_t flags
/* [in] */,
218 struct tevent_req
*rpccli_dfs_ManagerInitialize_send(TALLOC_CTX
*mem_ctx
,
219 struct tevent_context
*ev
,
220 struct rpc_pipe_client
*cli
,
221 const char *_servername
/* [in] [ref,charset(UTF16)] */,
222 uint32_t _flags
/* [in] */);
223 NTSTATUS
rpccli_dfs_ManagerInitialize_recv(struct tevent_req
*req
,
226 NTSTATUS
rpccli_dfs_ManagerInitialize(struct rpc_pipe_client
*cli
,
228 const char *servername
/* [in] [ref,charset(UTF16)] */,
229 uint32_t flags
/* [in] */,
231 struct tevent_req
*rpccli_dfs_AddStdRootForced_send(TALLOC_CTX
*mem_ctx
,
232 struct tevent_context
*ev
,
233 struct rpc_pipe_client
*cli
,
234 const char *_servername
/* [in] [charset(UTF16)] */,
235 const char *_rootshare
/* [in] [charset(UTF16)] */,
236 const char *_comment
/* [in] [charset(UTF16)] */,
237 const char *_store
/* [in] [charset(UTF16)] */);
238 NTSTATUS
rpccli_dfs_AddStdRootForced_recv(struct tevent_req
*req
,
241 NTSTATUS
rpccli_dfs_AddStdRootForced(struct rpc_pipe_client
*cli
,
243 const char *servername
/* [in] [charset(UTF16)] */,
244 const char *rootshare
/* [in] [charset(UTF16)] */,
245 const char *comment
/* [in] [charset(UTF16)] */,
246 const char *store
/* [in] [charset(UTF16)] */,
248 struct tevent_req
*rpccli_dfs_GetDcAddress_send(TALLOC_CTX
*mem_ctx
,
249 struct tevent_context
*ev
,
250 struct rpc_pipe_client
*cli
,
251 const char *_servername
/* [in] [charset(UTF16)] */,
252 const char **_server_fullname
/* [in,out] [ref,charset(UTF16)] */,
253 uint8_t *_is_root
/* [in,out] [ref] */,
254 uint32_t *_ttl
/* [in,out] [ref] */);
255 NTSTATUS
rpccli_dfs_GetDcAddress_recv(struct tevent_req
*req
,
258 NTSTATUS
rpccli_dfs_GetDcAddress(struct rpc_pipe_client
*cli
,
260 const char *servername
/* [in] [charset(UTF16)] */,
261 const char **server_fullname
/* [in,out] [ref,charset(UTF16)] */,
262 uint8_t *is_root
/* [in,out] [ref] */,
263 uint32_t *ttl
/* [in,out] [ref] */,
265 struct tevent_req
*rpccli_dfs_SetDcAddress_send(TALLOC_CTX
*mem_ctx
,
266 struct tevent_context
*ev
,
267 struct rpc_pipe_client
*cli
,
268 const char *_servername
/* [in] [charset(UTF16)] */,
269 const char *_server_fullname
/* [in] [charset(UTF16)] */,
270 uint32_t _flags
/* [in] */,
271 uint32_t _ttl
/* [in] */);
272 NTSTATUS
rpccli_dfs_SetDcAddress_recv(struct tevent_req
*req
,
275 NTSTATUS
rpccli_dfs_SetDcAddress(struct rpc_pipe_client
*cli
,
277 const char *servername
/* [in] [charset(UTF16)] */,
278 const char *server_fullname
/* [in] [charset(UTF16)] */,
279 uint32_t flags
/* [in] */,
280 uint32_t ttl
/* [in] */,
282 struct tevent_req
*rpccli_dfs_FlushFtTable_send(TALLOC_CTX
*mem_ctx
,
283 struct tevent_context
*ev
,
284 struct rpc_pipe_client
*cli
,
285 const char *_servername
/* [in] [charset(UTF16)] */,
286 const char *_rootshare
/* [in] [charset(UTF16)] */);
287 NTSTATUS
rpccli_dfs_FlushFtTable_recv(struct tevent_req
*req
,
290 NTSTATUS
rpccli_dfs_FlushFtTable(struct rpc_pipe_client
*cli
,
292 const char *servername
/* [in] [charset(UTF16)] */,
293 const char *rootshare
/* [in] [charset(UTF16)] */,
295 struct tevent_req
*rpccli_dfs_Add2_send(TALLOC_CTX
*mem_ctx
,
296 struct tevent_context
*ev
,
297 struct rpc_pipe_client
*cli
);
298 NTSTATUS
rpccli_dfs_Add2_recv(struct tevent_req
*req
,
301 NTSTATUS
rpccli_dfs_Add2(struct rpc_pipe_client
*cli
,
304 struct tevent_req
*rpccli_dfs_Remove2_send(TALLOC_CTX
*mem_ctx
,
305 struct tevent_context
*ev
,
306 struct rpc_pipe_client
*cli
);
307 NTSTATUS
rpccli_dfs_Remove2_recv(struct tevent_req
*req
,
310 NTSTATUS
rpccli_dfs_Remove2(struct rpc_pipe_client
*cli
,
313 struct tevent_req
*rpccli_dfs_EnumEx_send(TALLOC_CTX
*mem_ctx
,
314 struct tevent_context
*ev
,
315 struct rpc_pipe_client
*cli
,
316 const char *_dfs_name
/* [in] [charset(UTF16)] */,
317 uint32_t _level
/* [in] */,
318 uint32_t _bufsize
/* [in] */,
319 struct dfs_EnumStruct
*_info
/* [in,out] [unique] */,
320 uint32_t *_total
/* [in,out] [unique] */);
321 NTSTATUS
rpccli_dfs_EnumEx_recv(struct tevent_req
*req
,
324 NTSTATUS
rpccli_dfs_EnumEx(struct rpc_pipe_client
*cli
,
326 const char *dfs_name
/* [in] [charset(UTF16)] */,
327 uint32_t level
/* [in] */,
328 uint32_t bufsize
/* [in] */,
329 struct dfs_EnumStruct
*info
/* [in,out] [unique] */,
330 uint32_t *total
/* [in,out] [unique] */,
332 struct tevent_req
*rpccli_dfs_SetInfo2_send(TALLOC_CTX
*mem_ctx
,
333 struct tevent_context
*ev
,
334 struct rpc_pipe_client
*cli
);
335 NTSTATUS
rpccli_dfs_SetInfo2_recv(struct tevent_req
*req
,
338 NTSTATUS
rpccli_dfs_SetInfo2(struct rpc_pipe_client
*cli
,
341 #endif /* __CLI_NETDFS__ */