Second part of fix for bug #8673 - NT ACL issue.
[Samba.git] / librpc / gen_ndr / cli_dfs.h
blobed958e211edc6e673c78ecca70d81cc07c86cfc6
1 #include "../librpc/gen_ndr/ndr_dfs.h"
2 #ifndef __CLI_NETDFS__
3 #define __CLI_NETDFS__
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,
9 TALLOC_CTX *mem_ctx);
10 NTSTATUS rpccli_dfs_GetManagerVersion(struct rpc_pipe_client *cli,
11 TALLOC_CTX *mem_ctx,
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,
22 TALLOC_CTX *mem_ctx,
23 WERROR *result);
24 NTSTATUS rpccli_dfs_Add(struct rpc_pipe_client *cli,
25 TALLOC_CTX *mem_ctx,
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] */,
31 WERROR *werror);
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,
39 TALLOC_CTX *mem_ctx,
40 WERROR *result);
41 NTSTATUS rpccli_dfs_Remove(struct rpc_pipe_client *cli,
42 TALLOC_CTX *mem_ctx,
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)] */,
46 WERROR *werror);
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,
56 TALLOC_CTX *mem_ctx,
57 WERROR *result);
58 NTSTATUS rpccli_dfs_SetInfo(struct rpc_pipe_client *cli,
59 TALLOC_CTX *mem_ctx,
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)] */,
65 WERROR *werror);
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,
75 TALLOC_CTX *mem_ctx,
76 WERROR *result);
77 NTSTATUS rpccli_dfs_GetInfo(struct rpc_pipe_client *cli,
78 TALLOC_CTX *mem_ctx,
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)] */,
84 WERROR *werror);
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,
93 TALLOC_CTX *mem_ctx,
94 WERROR *result);
95 NTSTATUS rpccli_dfs_Enum(struct rpc_pipe_client *cli,
96 TALLOC_CTX *mem_ctx,
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] */,
101 WERROR *werror);
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,
106 TALLOC_CTX *mem_ctx,
107 WERROR *result);
108 NTSTATUS rpccli_dfs_Rename(struct rpc_pipe_client *cli,
109 TALLOC_CTX *mem_ctx,
110 WERROR *werror);
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,
115 TALLOC_CTX *mem_ctx,
116 WERROR *result);
117 NTSTATUS rpccli_dfs_Move(struct rpc_pipe_client *cli,
118 TALLOC_CTX *mem_ctx,
119 WERROR *werror);
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,
124 TALLOC_CTX *mem_ctx,
125 WERROR *result);
126 NTSTATUS rpccli_dfs_ManagerGetConfigInfo(struct rpc_pipe_client *cli,
127 TALLOC_CTX *mem_ctx,
128 WERROR *werror);
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,
133 TALLOC_CTX *mem_ctx,
134 WERROR *result);
135 NTSTATUS rpccli_dfs_ManagerSendSiteInfo(struct rpc_pipe_client *cli,
136 TALLOC_CTX *mem_ctx,
137 WERROR *werror);
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,
151 TALLOC_CTX *mem_ctx,
152 WERROR *result);
153 NTSTATUS rpccli_dfs_AddFtRoot(struct rpc_pipe_client *cli,
154 TALLOC_CTX *mem_ctx,
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] */,
164 WERROR *werror);
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,
175 TALLOC_CTX *mem_ctx,
176 WERROR *result);
177 NTSTATUS rpccli_dfs_RemoveFtRoot(struct rpc_pipe_client *cli,
178 TALLOC_CTX *mem_ctx,
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] */,
185 WERROR *werror);
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,
194 TALLOC_CTX *mem_ctx,
195 WERROR *result);
196 NTSTATUS rpccli_dfs_AddStdRoot(struct rpc_pipe_client *cli,
197 TALLOC_CTX *mem_ctx,
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] */,
202 WERROR *werror);
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,
210 TALLOC_CTX *mem_ctx,
211 WERROR *result);
212 NTSTATUS rpccli_dfs_RemoveStdRoot(struct rpc_pipe_client *cli,
213 TALLOC_CTX *mem_ctx,
214 const char *servername /* [in] [charset(UTF16)] */,
215 const char *rootshare /* [in] [charset(UTF16)] */,
216 uint32_t flags /* [in] */,
217 WERROR *werror);
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,
224 TALLOC_CTX *mem_ctx,
225 WERROR *result);
226 NTSTATUS rpccli_dfs_ManagerInitialize(struct rpc_pipe_client *cli,
227 TALLOC_CTX *mem_ctx,
228 const char *servername /* [in] [ref,charset(UTF16)] */,
229 uint32_t flags /* [in] */,
230 WERROR *werror);
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,
239 TALLOC_CTX *mem_ctx,
240 WERROR *result);
241 NTSTATUS rpccli_dfs_AddStdRootForced(struct rpc_pipe_client *cli,
242 TALLOC_CTX *mem_ctx,
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)] */,
247 WERROR *werror);
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,
256 TALLOC_CTX *mem_ctx,
257 WERROR *result);
258 NTSTATUS rpccli_dfs_GetDcAddress(struct rpc_pipe_client *cli,
259 TALLOC_CTX *mem_ctx,
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] */,
264 WERROR *werror);
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,
273 TALLOC_CTX *mem_ctx,
274 WERROR *result);
275 NTSTATUS rpccli_dfs_SetDcAddress(struct rpc_pipe_client *cli,
276 TALLOC_CTX *mem_ctx,
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] */,
281 WERROR *werror);
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,
288 TALLOC_CTX *mem_ctx,
289 WERROR *result);
290 NTSTATUS rpccli_dfs_FlushFtTable(struct rpc_pipe_client *cli,
291 TALLOC_CTX *mem_ctx,
292 const char *servername /* [in] [charset(UTF16)] */,
293 const char *rootshare /* [in] [charset(UTF16)] */,
294 WERROR *werror);
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,
299 TALLOC_CTX *mem_ctx,
300 WERROR *result);
301 NTSTATUS rpccli_dfs_Add2(struct rpc_pipe_client *cli,
302 TALLOC_CTX *mem_ctx,
303 WERROR *werror);
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,
308 TALLOC_CTX *mem_ctx,
309 WERROR *result);
310 NTSTATUS rpccli_dfs_Remove2(struct rpc_pipe_client *cli,
311 TALLOC_CTX *mem_ctx,
312 WERROR *werror);
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,
322 TALLOC_CTX *mem_ctx,
323 WERROR *result);
324 NTSTATUS rpccli_dfs_EnumEx(struct rpc_pipe_client *cli,
325 TALLOC_CTX *mem_ctx,
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] */,
331 WERROR *werror);
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,
336 TALLOC_CTX *mem_ctx,
337 WERROR *result);
338 NTSTATUS rpccli_dfs_SetInfo2(struct rpc_pipe_client *cli,
339 TALLOC_CTX *mem_ctx,
340 WERROR *werror);
341 #endif /* __CLI_NETDFS__ */