samba-3.5.8 for ARM
[tomato.git] / release / src-rt-6.x.4708 / router / samba-3.5.8 / librpc / gen_ndr / cli_wkssvc.h
blob1d3165f4396dac3e5d4d3ae03851a8c49a0d644a
1 #include "../librpc/gen_ndr/ndr_wkssvc.h"
2 #ifndef __CLI_WKSSVC__
3 #define __CLI_WKSSVC__
4 struct tevent_req *rpccli_wkssvc_NetWkstaGetInfo_send(TALLOC_CTX *mem_ctx,
5 struct tevent_context *ev,
6 struct rpc_pipe_client *cli,
7 const char *_server_name /* [in] [unique,charset(UTF16)] */,
8 uint32_t _level /* [in] */,
9 union wkssvc_NetWkstaInfo *_info /* [out] [ref,switch_is(level)] */);
10 NTSTATUS rpccli_wkssvc_NetWkstaGetInfo_recv(struct tevent_req *req,
11 TALLOC_CTX *mem_ctx,
12 WERROR *result);
13 NTSTATUS rpccli_wkssvc_NetWkstaGetInfo(struct rpc_pipe_client *cli,
14 TALLOC_CTX *mem_ctx,
15 const char *server_name /* [in] [unique,charset(UTF16)] */,
16 uint32_t level /* [in] */,
17 union wkssvc_NetWkstaInfo *info /* [out] [ref,switch_is(level)] */,
18 WERROR *werror);
19 struct tevent_req *rpccli_wkssvc_NetWkstaSetInfo_send(TALLOC_CTX *mem_ctx,
20 struct tevent_context *ev,
21 struct rpc_pipe_client *cli,
22 const char *_server_name /* [in] [unique,charset(UTF16)] */,
23 uint32_t _level /* [in] */,
24 union wkssvc_NetWkstaInfo *_info /* [in] [ref,switch_is(level)] */,
25 uint32_t *_parm_error /* [in,out] [ref] */);
26 NTSTATUS rpccli_wkssvc_NetWkstaSetInfo_recv(struct tevent_req *req,
27 TALLOC_CTX *mem_ctx,
28 WERROR *result);
29 NTSTATUS rpccli_wkssvc_NetWkstaSetInfo(struct rpc_pipe_client *cli,
30 TALLOC_CTX *mem_ctx,
31 const char *server_name /* [in] [unique,charset(UTF16)] */,
32 uint32_t level /* [in] */,
33 union wkssvc_NetWkstaInfo *info /* [in] [ref,switch_is(level)] */,
34 uint32_t *parm_error /* [in,out] [ref] */,
35 WERROR *werror);
36 struct tevent_req *rpccli_wkssvc_NetWkstaEnumUsers_send(TALLOC_CTX *mem_ctx,
37 struct tevent_context *ev,
38 struct rpc_pipe_client *cli,
39 const char *_server_name /* [in] [unique,charset(UTF16)] */,
40 struct wkssvc_NetWkstaEnumUsersInfo *_info /* [in,out] [ref] */,
41 uint32_t _prefmaxlen /* [in] */,
42 uint32_t *_entries_read /* [out] [ref] */,
43 uint32_t *_resume_handle /* [in,out] [unique] */);
44 NTSTATUS rpccli_wkssvc_NetWkstaEnumUsers_recv(struct tevent_req *req,
45 TALLOC_CTX *mem_ctx,
46 WERROR *result);
47 NTSTATUS rpccli_wkssvc_NetWkstaEnumUsers(struct rpc_pipe_client *cli,
48 TALLOC_CTX *mem_ctx,
49 const char *server_name /* [in] [unique,charset(UTF16)] */,
50 struct wkssvc_NetWkstaEnumUsersInfo *info /* [in,out] [ref] */,
51 uint32_t prefmaxlen /* [in] */,
52 uint32_t *entries_read /* [out] [ref] */,
53 uint32_t *resume_handle /* [in,out] [unique] */,
54 WERROR *werror);
55 struct tevent_req *rpccli_wkssvc_NetrWkstaUserGetInfo_send(TALLOC_CTX *mem_ctx,
56 struct tevent_context *ev,
57 struct rpc_pipe_client *cli,
58 const char *_unknown /* [in] [unique,charset(UTF16)] */,
59 uint32_t _level /* [in] */,
60 union wkssvc_NetrWkstaUserInfo *_info /* [out] [ref,switch_is(level)] */);
61 NTSTATUS rpccli_wkssvc_NetrWkstaUserGetInfo_recv(struct tevent_req *req,
62 TALLOC_CTX *mem_ctx,
63 WERROR *result);
64 NTSTATUS rpccli_wkssvc_NetrWkstaUserGetInfo(struct rpc_pipe_client *cli,
65 TALLOC_CTX *mem_ctx,
66 const char *unknown /* [in] [unique,charset(UTF16)] */,
67 uint32_t level /* [in] */,
68 union wkssvc_NetrWkstaUserInfo *info /* [out] [ref,switch_is(level)] */,
69 WERROR *werror);
70 struct tevent_req *rpccli_wkssvc_NetrWkstaUserSetInfo_send(TALLOC_CTX *mem_ctx,
71 struct tevent_context *ev,
72 struct rpc_pipe_client *cli,
73 const char *_unknown /* [in] [unique,charset(UTF16)] */,
74 uint32_t _level /* [in] */,
75 union wkssvc_NetrWkstaUserInfo *_info /* [in] [ref,switch_is(level)] */,
76 uint32_t *_parm_err /* [in,out] [unique] */);
77 NTSTATUS rpccli_wkssvc_NetrWkstaUserSetInfo_recv(struct tevent_req *req,
78 TALLOC_CTX *mem_ctx,
79 WERROR *result);
80 NTSTATUS rpccli_wkssvc_NetrWkstaUserSetInfo(struct rpc_pipe_client *cli,
81 TALLOC_CTX *mem_ctx,
82 const char *unknown /* [in] [unique,charset(UTF16)] */,
83 uint32_t level /* [in] */,
84 union wkssvc_NetrWkstaUserInfo *info /* [in] [ref,switch_is(level)] */,
85 uint32_t *parm_err /* [in,out] [unique] */,
86 WERROR *werror);
87 struct tevent_req *rpccli_wkssvc_NetWkstaTransportEnum_send(TALLOC_CTX *mem_ctx,
88 struct tevent_context *ev,
89 struct rpc_pipe_client *cli,
90 const char *_server_name /* [in] [unique,charset(UTF16)] */,
91 struct wkssvc_NetWkstaTransportInfo *_info /* [in,out] [ref] */,
92 uint32_t _max_buffer /* [in] */,
93 uint32_t *_total_entries /* [out] [ref] */,
94 uint32_t *_resume_handle /* [in,out] [unique] */);
95 NTSTATUS rpccli_wkssvc_NetWkstaTransportEnum_recv(struct tevent_req *req,
96 TALLOC_CTX *mem_ctx,
97 WERROR *result);
98 NTSTATUS rpccli_wkssvc_NetWkstaTransportEnum(struct rpc_pipe_client *cli,
99 TALLOC_CTX *mem_ctx,
100 const char *server_name /* [in] [unique,charset(UTF16)] */,
101 struct wkssvc_NetWkstaTransportInfo *info /* [in,out] [ref] */,
102 uint32_t max_buffer /* [in] */,
103 uint32_t *total_entries /* [out] [ref] */,
104 uint32_t *resume_handle /* [in,out] [unique] */,
105 WERROR *werror);
106 struct tevent_req *rpccli_wkssvc_NetrWkstaTransportAdd_send(TALLOC_CTX *mem_ctx,
107 struct tevent_context *ev,
108 struct rpc_pipe_client *cli,
109 const char *_server_name /* [in] [unique,charset(UTF16)] */,
110 uint32_t _level /* [in] */,
111 struct wkssvc_NetWkstaTransportInfo0 *_info0 /* [in] [ref] */,
112 uint32_t *_parm_err /* [in,out] [unique] */);
113 NTSTATUS rpccli_wkssvc_NetrWkstaTransportAdd_recv(struct tevent_req *req,
114 TALLOC_CTX *mem_ctx,
115 WERROR *result);
116 NTSTATUS rpccli_wkssvc_NetrWkstaTransportAdd(struct rpc_pipe_client *cli,
117 TALLOC_CTX *mem_ctx,
118 const char *server_name /* [in] [unique,charset(UTF16)] */,
119 uint32_t level /* [in] */,
120 struct wkssvc_NetWkstaTransportInfo0 *info0 /* [in] [ref] */,
121 uint32_t *parm_err /* [in,out] [unique] */,
122 WERROR *werror);
123 struct tevent_req *rpccli_wkssvc_NetrWkstaTransportDel_send(TALLOC_CTX *mem_ctx,
124 struct tevent_context *ev,
125 struct rpc_pipe_client *cli,
126 const char *_server_name /* [in] [unique,charset(UTF16)] */,
127 const char *_transport_name /* [in] [unique,charset(UTF16)] */,
128 uint32_t _unknown3 /* [in] */);
129 NTSTATUS rpccli_wkssvc_NetrWkstaTransportDel_recv(struct tevent_req *req,
130 TALLOC_CTX *mem_ctx,
131 WERROR *result);
132 NTSTATUS rpccli_wkssvc_NetrWkstaTransportDel(struct rpc_pipe_client *cli,
133 TALLOC_CTX *mem_ctx,
134 const char *server_name /* [in] [unique,charset(UTF16)] */,
135 const char *transport_name /* [in] [unique,charset(UTF16)] */,
136 uint32_t unknown3 /* [in] */,
137 WERROR *werror);
138 struct tevent_req *rpccli_wkssvc_NetrUseAdd_send(TALLOC_CTX *mem_ctx,
139 struct tevent_context *ev,
140 struct rpc_pipe_client *cli,
141 const char *_server_name /* [in] [unique,charset(UTF16)] */,
142 uint32_t _level /* [in] */,
143 union wkssvc_NetrUseGetInfoCtr *_ctr /* [in] [ref,switch_is(level)] */,
144 uint32_t *_parm_err /* [in,out] [unique] */);
145 NTSTATUS rpccli_wkssvc_NetrUseAdd_recv(struct tevent_req *req,
146 TALLOC_CTX *mem_ctx,
147 WERROR *result);
148 NTSTATUS rpccli_wkssvc_NetrUseAdd(struct rpc_pipe_client *cli,
149 TALLOC_CTX *mem_ctx,
150 const char *server_name /* [in] [unique,charset(UTF16)] */,
151 uint32_t level /* [in] */,
152 union wkssvc_NetrUseGetInfoCtr *ctr /* [in] [ref,switch_is(level)] */,
153 uint32_t *parm_err /* [in,out] [unique] */,
154 WERROR *werror);
155 struct tevent_req *rpccli_wkssvc_NetrUseGetInfo_send(TALLOC_CTX *mem_ctx,
156 struct tevent_context *ev,
157 struct rpc_pipe_client *cli,
158 const char *_server_name /* [in] [unique,charset(UTF16)] */,
159 const char *_use_name /* [in] [ref,charset(UTF16)] */,
160 uint32_t _level /* [in] */,
161 union wkssvc_NetrUseGetInfoCtr *_ctr /* [out] [ref,switch_is(level)] */);
162 NTSTATUS rpccli_wkssvc_NetrUseGetInfo_recv(struct tevent_req *req,
163 TALLOC_CTX *mem_ctx,
164 WERROR *result);
165 NTSTATUS rpccli_wkssvc_NetrUseGetInfo(struct rpc_pipe_client *cli,
166 TALLOC_CTX *mem_ctx,
167 const char *server_name /* [in] [unique,charset(UTF16)] */,
168 const char *use_name /* [in] [ref,charset(UTF16)] */,
169 uint32_t level /* [in] */,
170 union wkssvc_NetrUseGetInfoCtr *ctr /* [out] [ref,switch_is(level)] */,
171 WERROR *werror);
172 struct tevent_req *rpccli_wkssvc_NetrUseDel_send(TALLOC_CTX *mem_ctx,
173 struct tevent_context *ev,
174 struct rpc_pipe_client *cli,
175 const char *_server_name /* [in] [unique,charset(UTF16)] */,
176 const char *_use_name /* [in] [ref,charset(UTF16)] */,
177 uint32_t _force_cond /* [in] */);
178 NTSTATUS rpccli_wkssvc_NetrUseDel_recv(struct tevent_req *req,
179 TALLOC_CTX *mem_ctx,
180 WERROR *result);
181 NTSTATUS rpccli_wkssvc_NetrUseDel(struct rpc_pipe_client *cli,
182 TALLOC_CTX *mem_ctx,
183 const char *server_name /* [in] [unique,charset(UTF16)] */,
184 const char *use_name /* [in] [ref,charset(UTF16)] */,
185 uint32_t force_cond /* [in] */,
186 WERROR *werror);
187 struct tevent_req *rpccli_wkssvc_NetrUseEnum_send(TALLOC_CTX *mem_ctx,
188 struct tevent_context *ev,
189 struct rpc_pipe_client *cli,
190 const char *_server_name /* [in] [unique,charset(UTF16)] */,
191 struct wkssvc_NetrUseEnumInfo *_info /* [in,out] [ref] */,
192 uint32_t _prefmaxlen /* [in] */,
193 uint32_t *_entries_read /* [out] [ref] */,
194 uint32_t *_resume_handle /* [in,out] [unique] */);
195 NTSTATUS rpccli_wkssvc_NetrUseEnum_recv(struct tevent_req *req,
196 TALLOC_CTX *mem_ctx,
197 WERROR *result);
198 NTSTATUS rpccli_wkssvc_NetrUseEnum(struct rpc_pipe_client *cli,
199 TALLOC_CTX *mem_ctx,
200 const char *server_name /* [in] [unique,charset(UTF16)] */,
201 struct wkssvc_NetrUseEnumInfo *info /* [in,out] [ref] */,
202 uint32_t prefmaxlen /* [in] */,
203 uint32_t *entries_read /* [out] [ref] */,
204 uint32_t *resume_handle /* [in,out] [unique] */,
205 WERROR *werror);
206 struct tevent_req *rpccli_wkssvc_NetrMessageBufferSend_send(TALLOC_CTX *mem_ctx,
207 struct tevent_context *ev,
208 struct rpc_pipe_client *cli,
209 const char *_server_name /* [in] [unique,charset(UTF16)] */,
210 const char *_message_name /* [in] [ref,charset(UTF16)] */,
211 const char *_message_sender_name /* [in] [unique,charset(UTF16)] */,
212 uint8_t *_message_buffer /* [in] [ref,size_is(message_size)] */,
213 uint32_t _message_size /* [in] */);
214 NTSTATUS rpccli_wkssvc_NetrMessageBufferSend_recv(struct tevent_req *req,
215 TALLOC_CTX *mem_ctx,
216 WERROR *result);
217 NTSTATUS rpccli_wkssvc_NetrMessageBufferSend(struct rpc_pipe_client *cli,
218 TALLOC_CTX *mem_ctx,
219 const char *server_name /* [in] [unique,charset(UTF16)] */,
220 const char *message_name /* [in] [ref,charset(UTF16)] */,
221 const char *message_sender_name /* [in] [unique,charset(UTF16)] */,
222 uint8_t *message_buffer /* [in] [ref,size_is(message_size)] */,
223 uint32_t message_size /* [in] */,
224 WERROR *werror);
225 struct tevent_req *rpccli_wkssvc_NetrWorkstationStatisticsGet_send(TALLOC_CTX *mem_ctx,
226 struct tevent_context *ev,
227 struct rpc_pipe_client *cli,
228 const char *_server_name /* [in] [unique,charset(UTF16)] */,
229 const char *_unknown2 /* [in] [unique,charset(UTF16)] */,
230 uint32_t _unknown3 /* [in] */,
231 uint32_t _unknown4 /* [in] */,
232 struct wkssvc_NetrWorkstationStatistics **_info /* [out] [ref] */);
233 NTSTATUS rpccli_wkssvc_NetrWorkstationStatisticsGet_recv(struct tevent_req *req,
234 TALLOC_CTX *mem_ctx,
235 WERROR *result);
236 NTSTATUS rpccli_wkssvc_NetrWorkstationStatisticsGet(struct rpc_pipe_client *cli,
237 TALLOC_CTX *mem_ctx,
238 const char *server_name /* [in] [unique,charset(UTF16)] */,
239 const char *unknown2 /* [in] [unique,charset(UTF16)] */,
240 uint32_t unknown3 /* [in] */,
241 uint32_t unknown4 /* [in] */,
242 struct wkssvc_NetrWorkstationStatistics **info /* [out] [ref] */,
243 WERROR *werror);
244 struct tevent_req *rpccli_wkssvc_NetrLogonDomainNameAdd_send(TALLOC_CTX *mem_ctx,
245 struct tevent_context *ev,
246 struct rpc_pipe_client *cli,
247 const char *_domain_name /* [in] [ref,charset(UTF16)] */);
248 NTSTATUS rpccli_wkssvc_NetrLogonDomainNameAdd_recv(struct tevent_req *req,
249 TALLOC_CTX *mem_ctx,
250 WERROR *result);
251 NTSTATUS rpccli_wkssvc_NetrLogonDomainNameAdd(struct rpc_pipe_client *cli,
252 TALLOC_CTX *mem_ctx,
253 const char *domain_name /* [in] [ref,charset(UTF16)] */,
254 WERROR *werror);
255 struct tevent_req *rpccli_wkssvc_NetrLogonDomainNameDel_send(TALLOC_CTX *mem_ctx,
256 struct tevent_context *ev,
257 struct rpc_pipe_client *cli,
258 const char *_domain_name /* [in] [ref,charset(UTF16)] */);
259 NTSTATUS rpccli_wkssvc_NetrLogonDomainNameDel_recv(struct tevent_req *req,
260 TALLOC_CTX *mem_ctx,
261 WERROR *result);
262 NTSTATUS rpccli_wkssvc_NetrLogonDomainNameDel(struct rpc_pipe_client *cli,
263 TALLOC_CTX *mem_ctx,
264 const char *domain_name /* [in] [ref,charset(UTF16)] */,
265 WERROR *werror);
266 struct tevent_req *rpccli_wkssvc_NetrJoinDomain_send(TALLOC_CTX *mem_ctx,
267 struct tevent_context *ev,
268 struct rpc_pipe_client *cli,
269 const char *_server_name /* [in] [unique,charset(UTF16)] */,
270 const char *_domain_name /* [in] [ref,charset(UTF16)] */,
271 const char *_account_ou /* [in] [unique,charset(UTF16)] */,
272 const char *_Account /* [in] [unique,charset(UTF16)] */,
273 const char *_password /* [in] [unique,charset(UTF16)] */,
274 uint32_t _join_flags /* [in] */);
275 NTSTATUS rpccli_wkssvc_NetrJoinDomain_recv(struct tevent_req *req,
276 TALLOC_CTX *mem_ctx,
277 WERROR *result);
278 NTSTATUS rpccli_wkssvc_NetrJoinDomain(struct rpc_pipe_client *cli,
279 TALLOC_CTX *mem_ctx,
280 const char *server_name /* [in] [unique,charset(UTF16)] */,
281 const char *domain_name /* [in] [ref,charset(UTF16)] */,
282 const char *account_ou /* [in] [unique,charset(UTF16)] */,
283 const char *Account /* [in] [unique,charset(UTF16)] */,
284 const char *password /* [in] [unique,charset(UTF16)] */,
285 uint32_t join_flags /* [in] */,
286 WERROR *werror);
287 struct tevent_req *rpccli_wkssvc_NetrUnjoinDomain_send(TALLOC_CTX *mem_ctx,
288 struct tevent_context *ev,
289 struct rpc_pipe_client *cli,
290 const char *_server_name /* [in] [unique,charset(UTF16)] */,
291 const char *_Account /* [in] [unique,charset(UTF16)] */,
292 const char *_password /* [in] [unique,charset(UTF16)] */,
293 uint32_t _unjoin_flags /* [in] */);
294 NTSTATUS rpccli_wkssvc_NetrUnjoinDomain_recv(struct tevent_req *req,
295 TALLOC_CTX *mem_ctx,
296 WERROR *result);
297 NTSTATUS rpccli_wkssvc_NetrUnjoinDomain(struct rpc_pipe_client *cli,
298 TALLOC_CTX *mem_ctx,
299 const char *server_name /* [in] [unique,charset(UTF16)] */,
300 const char *Account /* [in] [unique,charset(UTF16)] */,
301 const char *password /* [in] [unique,charset(UTF16)] */,
302 uint32_t unjoin_flags /* [in] */,
303 WERROR *werror);
304 struct tevent_req *rpccli_wkssvc_NetrRenameMachineInDomain_send(TALLOC_CTX *mem_ctx,
305 struct tevent_context *ev,
306 struct rpc_pipe_client *cli,
307 const char *_server_name /* [in] [unique,charset(UTF16)] */,
308 const char *_NewMachineName /* [in] [unique,charset(UTF16)] */,
309 const char *_Account /* [in] [unique,charset(UTF16)] */,
310 const char *_password /* [in] [unique,charset(UTF16)] */,
311 uint32_t _RenameOptions /* [in] */);
312 NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain_recv(struct tevent_req *req,
313 TALLOC_CTX *mem_ctx,
314 WERROR *result);
315 NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain(struct rpc_pipe_client *cli,
316 TALLOC_CTX *mem_ctx,
317 const char *server_name /* [in] [unique,charset(UTF16)] */,
318 const char *NewMachineName /* [in] [unique,charset(UTF16)] */,
319 const char *Account /* [in] [unique,charset(UTF16)] */,
320 const char *password /* [in] [unique,charset(UTF16)] */,
321 uint32_t RenameOptions /* [in] */,
322 WERROR *werror);
323 struct tevent_req *rpccli_wkssvc_NetrValidateName_send(TALLOC_CTX *mem_ctx,
324 struct tevent_context *ev,
325 struct rpc_pipe_client *cli,
326 const char *_server_name /* [in] [unique,charset(UTF16)] */,
327 const char *_name /* [in] [ref,charset(UTF16)] */,
328 const char *_Account /* [in] [unique,charset(UTF16)] */,
329 const char *_Password /* [in] [unique,charset(UTF16)] */,
330 enum wkssvc_NetValidateNameType _name_type /* [in] */);
331 NTSTATUS rpccli_wkssvc_NetrValidateName_recv(struct tevent_req *req,
332 TALLOC_CTX *mem_ctx,
333 WERROR *result);
334 NTSTATUS rpccli_wkssvc_NetrValidateName(struct rpc_pipe_client *cli,
335 TALLOC_CTX *mem_ctx,
336 const char *server_name /* [in] [unique,charset(UTF16)] */,
337 const char *name /* [in] [ref,charset(UTF16)] */,
338 const char *Account /* [in] [unique,charset(UTF16)] */,
339 const char *Password /* [in] [unique,charset(UTF16)] */,
340 enum wkssvc_NetValidateNameType name_type /* [in] */,
341 WERROR *werror);
342 struct tevent_req *rpccli_wkssvc_NetrGetJoinInformation_send(TALLOC_CTX *mem_ctx,
343 struct tevent_context *ev,
344 struct rpc_pipe_client *cli,
345 const char *_server_name /* [in] [unique,charset(UTF16)] */,
346 const char **_name_buffer /* [in,out] [ref,charset(UTF16)] */,
347 enum wkssvc_NetJoinStatus *_name_type /* [out] [ref] */);
348 NTSTATUS rpccli_wkssvc_NetrGetJoinInformation_recv(struct tevent_req *req,
349 TALLOC_CTX *mem_ctx,
350 WERROR *result);
351 NTSTATUS rpccli_wkssvc_NetrGetJoinInformation(struct rpc_pipe_client *cli,
352 TALLOC_CTX *mem_ctx,
353 const char *server_name /* [in] [unique,charset(UTF16)] */,
354 const char **name_buffer /* [in,out] [ref,charset(UTF16)] */,
355 enum wkssvc_NetJoinStatus *name_type /* [out] [ref] */,
356 WERROR *werror);
357 struct tevent_req *rpccli_wkssvc_NetrGetJoinableOus_send(TALLOC_CTX *mem_ctx,
358 struct tevent_context *ev,
359 struct rpc_pipe_client *cli,
360 const char *_server_name /* [in] [unique,charset(UTF16)] */,
361 const char *_domain_name /* [in] [ref,charset(UTF16)] */,
362 const char *_Account /* [in] [unique,charset(UTF16)] */,
363 const char *_unknown /* [in] [unique,charset(UTF16)] */,
364 uint32_t *_num_ous /* [in,out] [ref] */,
365 const char ***_ous /* [out] [ref,charset(UTF16),size_is(,*num_ous)] */);
366 NTSTATUS rpccli_wkssvc_NetrGetJoinableOus_recv(struct tevent_req *req,
367 TALLOC_CTX *mem_ctx,
368 WERROR *result);
369 NTSTATUS rpccli_wkssvc_NetrGetJoinableOus(struct rpc_pipe_client *cli,
370 TALLOC_CTX *mem_ctx,
371 const char *server_name /* [in] [unique,charset(UTF16)] */,
372 const char *domain_name /* [in] [ref,charset(UTF16)] */,
373 const char *Account /* [in] [unique,charset(UTF16)] */,
374 const char *unknown /* [in] [unique,charset(UTF16)] */,
375 uint32_t *num_ous /* [in,out] [ref] */,
376 const char ***ous /* [out] [ref,charset(UTF16),size_is(,*num_ous)] */,
377 WERROR *werror);
378 struct tevent_req *rpccli_wkssvc_NetrJoinDomain2_send(TALLOC_CTX *mem_ctx,
379 struct tevent_context *ev,
380 struct rpc_pipe_client *cli,
381 const char *_server_name /* [in] [unique,charset(UTF16)] */,
382 const char *_domain_name /* [in] [ref,charset(UTF16)] */,
383 const char *_account_ou /* [in] [unique,charset(UTF16)] */,
384 const char *_admin_account /* [in] [unique,charset(UTF16)] */,
385 struct wkssvc_PasswordBuffer *_encrypted_password /* [in] [unique] */,
386 uint32_t _join_flags /* [in] */);
387 NTSTATUS rpccli_wkssvc_NetrJoinDomain2_recv(struct tevent_req *req,
388 TALLOC_CTX *mem_ctx,
389 WERROR *result);
390 NTSTATUS rpccli_wkssvc_NetrJoinDomain2(struct rpc_pipe_client *cli,
391 TALLOC_CTX *mem_ctx,
392 const char *server_name /* [in] [unique,charset(UTF16)] */,
393 const char *domain_name /* [in] [ref,charset(UTF16)] */,
394 const char *account_ou /* [in] [unique,charset(UTF16)] */,
395 const char *admin_account /* [in] [unique,charset(UTF16)] */,
396 struct wkssvc_PasswordBuffer *encrypted_password /* [in] [unique] */,
397 uint32_t join_flags /* [in] */,
398 WERROR *werror);
399 struct tevent_req *rpccli_wkssvc_NetrUnjoinDomain2_send(TALLOC_CTX *mem_ctx,
400 struct tevent_context *ev,
401 struct rpc_pipe_client *cli,
402 const char *_server_name /* [in] [unique,charset(UTF16)] */,
403 const char *_account /* [in] [unique,charset(UTF16)] */,
404 struct wkssvc_PasswordBuffer *_encrypted_password /* [in] [unique] */,
405 uint32_t _unjoin_flags /* [in] */);
406 NTSTATUS rpccli_wkssvc_NetrUnjoinDomain2_recv(struct tevent_req *req,
407 TALLOC_CTX *mem_ctx,
408 WERROR *result);
409 NTSTATUS rpccli_wkssvc_NetrUnjoinDomain2(struct rpc_pipe_client *cli,
410 TALLOC_CTX *mem_ctx,
411 const char *server_name /* [in] [unique,charset(UTF16)] */,
412 const char *account /* [in] [unique,charset(UTF16)] */,
413 struct wkssvc_PasswordBuffer *encrypted_password /* [in] [unique] */,
414 uint32_t unjoin_flags /* [in] */,
415 WERROR *werror);
416 struct tevent_req *rpccli_wkssvc_NetrRenameMachineInDomain2_send(TALLOC_CTX *mem_ctx,
417 struct tevent_context *ev,
418 struct rpc_pipe_client *cli,
419 const char *_server_name /* [in] [unique,charset(UTF16)] */,
420 const char *_NewMachineName /* [in] [unique,charset(UTF16)] */,
421 const char *_Account /* [in] [unique,charset(UTF16)] */,
422 struct wkssvc_PasswordBuffer *_EncryptedPassword /* [in] [unique] */,
423 uint32_t _RenameOptions /* [in] */);
424 NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain2_recv(struct tevent_req *req,
425 TALLOC_CTX *mem_ctx,
426 WERROR *result);
427 NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain2(struct rpc_pipe_client *cli,
428 TALLOC_CTX *mem_ctx,
429 const char *server_name /* [in] [unique,charset(UTF16)] */,
430 const char *NewMachineName /* [in] [unique,charset(UTF16)] */,
431 const char *Account /* [in] [unique,charset(UTF16)] */,
432 struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */,
433 uint32_t RenameOptions /* [in] */,
434 WERROR *werror);
435 struct tevent_req *rpccli_wkssvc_NetrValidateName2_send(TALLOC_CTX *mem_ctx,
436 struct tevent_context *ev,
437 struct rpc_pipe_client *cli,
438 const char *_server_name /* [in] [unique,charset(UTF16)] */,
439 const char *_name /* [in] [ref,charset(UTF16)] */,
440 const char *_Account /* [in] [unique,charset(UTF16)] */,
441 struct wkssvc_PasswordBuffer *_EncryptedPassword /* [in] [unique] */,
442 enum wkssvc_NetValidateNameType _name_type /* [in] */);
443 NTSTATUS rpccli_wkssvc_NetrValidateName2_recv(struct tevent_req *req,
444 TALLOC_CTX *mem_ctx,
445 WERROR *result);
446 NTSTATUS rpccli_wkssvc_NetrValidateName2(struct rpc_pipe_client *cli,
447 TALLOC_CTX *mem_ctx,
448 const char *server_name /* [in] [unique,charset(UTF16)] */,
449 const char *name /* [in] [ref,charset(UTF16)] */,
450 const char *Account /* [in] [unique,charset(UTF16)] */,
451 struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */,
452 enum wkssvc_NetValidateNameType name_type /* [in] */,
453 WERROR *werror);
454 struct tevent_req *rpccli_wkssvc_NetrGetJoinableOus2_send(TALLOC_CTX *mem_ctx,
455 struct tevent_context *ev,
456 struct rpc_pipe_client *cli,
457 const char *_server_name /* [in] [unique,charset(UTF16)] */,
458 const char *_domain_name /* [in] [ref,charset(UTF16)] */,
459 const char *_Account /* [in] [unique,charset(UTF16)] */,
460 struct wkssvc_PasswordBuffer *_EncryptedPassword /* [in] [unique] */,
461 uint32_t *_num_ous /* [in,out] [ref] */,
462 const char ***_ous /* [out] [ref,charset(UTF16),size_is(,*num_ous)] */);
463 NTSTATUS rpccli_wkssvc_NetrGetJoinableOus2_recv(struct tevent_req *req,
464 TALLOC_CTX *mem_ctx,
465 WERROR *result);
466 NTSTATUS rpccli_wkssvc_NetrGetJoinableOus2(struct rpc_pipe_client *cli,
467 TALLOC_CTX *mem_ctx,
468 const char *server_name /* [in] [unique,charset(UTF16)] */,
469 const char *domain_name /* [in] [ref,charset(UTF16)] */,
470 const char *Account /* [in] [unique,charset(UTF16)] */,
471 struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */,
472 uint32_t *num_ous /* [in,out] [ref] */,
473 const char ***ous /* [out] [ref,charset(UTF16),size_is(,*num_ous)] */,
474 WERROR *werror);
475 struct tevent_req *rpccli_wkssvc_NetrAddAlternateComputerName_send(TALLOC_CTX *mem_ctx,
476 struct tevent_context *ev,
477 struct rpc_pipe_client *cli,
478 const char *_server_name /* [in] [unique,charset(UTF16)] */,
479 const char *_NewAlternateMachineName /* [in] [unique,charset(UTF16)] */,
480 const char *_Account /* [in] [unique,charset(UTF16)] */,
481 struct wkssvc_PasswordBuffer *_EncryptedPassword /* [in] [unique] */,
482 uint32_t _Reserved /* [in] */);
483 NTSTATUS rpccli_wkssvc_NetrAddAlternateComputerName_recv(struct tevent_req *req,
484 TALLOC_CTX *mem_ctx,
485 WERROR *result);
486 NTSTATUS rpccli_wkssvc_NetrAddAlternateComputerName(struct rpc_pipe_client *cli,
487 TALLOC_CTX *mem_ctx,
488 const char *server_name /* [in] [unique,charset(UTF16)] */,
489 const char *NewAlternateMachineName /* [in] [unique,charset(UTF16)] */,
490 const char *Account /* [in] [unique,charset(UTF16)] */,
491 struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */,
492 uint32_t Reserved /* [in] */,
493 WERROR *werror);
494 struct tevent_req *rpccli_wkssvc_NetrRemoveAlternateComputerName_send(TALLOC_CTX *mem_ctx,
495 struct tevent_context *ev,
496 struct rpc_pipe_client *cli,
497 const char *_server_name /* [in] [unique,charset(UTF16)] */,
498 const char *_AlternateMachineNameToRemove /* [in] [unique,charset(UTF16)] */,
499 const char *_Account /* [in] [unique,charset(UTF16)] */,
500 struct wkssvc_PasswordBuffer *_EncryptedPassword /* [in] [unique] */,
501 uint32_t _Reserved /* [in] */);
502 NTSTATUS rpccli_wkssvc_NetrRemoveAlternateComputerName_recv(struct tevent_req *req,
503 TALLOC_CTX *mem_ctx,
504 WERROR *result);
505 NTSTATUS rpccli_wkssvc_NetrRemoveAlternateComputerName(struct rpc_pipe_client *cli,
506 TALLOC_CTX *mem_ctx,
507 const char *server_name /* [in] [unique,charset(UTF16)] */,
508 const char *AlternateMachineNameToRemove /* [in] [unique,charset(UTF16)] */,
509 const char *Account /* [in] [unique,charset(UTF16)] */,
510 struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */,
511 uint32_t Reserved /* [in] */,
512 WERROR *werror);
513 struct tevent_req *rpccli_wkssvc_NetrSetPrimaryComputername_send(TALLOC_CTX *mem_ctx,
514 struct tevent_context *ev,
515 struct rpc_pipe_client *cli,
516 const char *_server_name /* [in] [unique,charset(UTF16)] */,
517 const char *_primary_name /* [in] [unique,charset(UTF16)] */,
518 const char *_Account /* [in] [unique,charset(UTF16)] */,
519 struct wkssvc_PasswordBuffer *_EncryptedPassword /* [in] [unique] */,
520 uint32_t _Reserved /* [in] */);
521 NTSTATUS rpccli_wkssvc_NetrSetPrimaryComputername_recv(struct tevent_req *req,
522 TALLOC_CTX *mem_ctx,
523 WERROR *result);
524 NTSTATUS rpccli_wkssvc_NetrSetPrimaryComputername(struct rpc_pipe_client *cli,
525 TALLOC_CTX *mem_ctx,
526 const char *server_name /* [in] [unique,charset(UTF16)] */,
527 const char *primary_name /* [in] [unique,charset(UTF16)] */,
528 const char *Account /* [in] [unique,charset(UTF16)] */,
529 struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */,
530 uint32_t Reserved /* [in] */,
531 WERROR *werror);
532 struct tevent_req *rpccli_wkssvc_NetrEnumerateComputerNames_send(TALLOC_CTX *mem_ctx,
533 struct tevent_context *ev,
534 struct rpc_pipe_client *cli,
535 const char *_server_name /* [in] [unique,charset(UTF16)] */,
536 enum wkssvc_ComputerNameType _name_type /* [in] */,
537 uint32_t _Reserved /* [in] */,
538 struct wkssvc_ComputerNamesCtr **_ctr /* [out] [ref] */);
539 NTSTATUS rpccli_wkssvc_NetrEnumerateComputerNames_recv(struct tevent_req *req,
540 TALLOC_CTX *mem_ctx,
541 WERROR *result);
542 NTSTATUS rpccli_wkssvc_NetrEnumerateComputerNames(struct rpc_pipe_client *cli,
543 TALLOC_CTX *mem_ctx,
544 const char *server_name /* [in] [unique,charset(UTF16)] */,
545 enum wkssvc_ComputerNameType name_type /* [in] */,
546 uint32_t Reserved /* [in] */,
547 struct wkssvc_ComputerNamesCtr **ctr /* [out] [ref] */,
548 WERROR *werror);
549 #endif /* __CLI_WKSSVC__ */