1 #include "../librpc/gen_ndr/ndr_wkssvc.h"
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
,
13 NTSTATUS
rpccli_wkssvc_NetWkstaGetInfo(struct rpc_pipe_client
*cli
,
15 const char *server_name
/* [in] [unique,charset(UTF16)] */,
16 uint32_t level
/* [in] */,
17 union wkssvc_NetWkstaInfo
*info
/* [out] [ref,switch_is(level)] */,
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
,
29 NTSTATUS
rpccli_wkssvc_NetWkstaSetInfo(struct rpc_pipe_client
*cli
,
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] */,
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
,
47 NTSTATUS
rpccli_wkssvc_NetWkstaEnumUsers(struct rpc_pipe_client
*cli
,
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] */,
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
,
64 NTSTATUS
rpccli_wkssvc_NetrWkstaUserGetInfo(struct rpc_pipe_client
*cli
,
66 const char *unknown
/* [in] [unique,charset(UTF16)] */,
67 uint32_t level
/* [in] */,
68 union wkssvc_NetrWkstaUserInfo
*info
/* [out] [ref,switch_is(level)] */,
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
,
80 NTSTATUS
rpccli_wkssvc_NetrWkstaUserSetInfo(struct rpc_pipe_client
*cli
,
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] */,
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
,
98 NTSTATUS
rpccli_wkssvc_NetWkstaTransportEnum(struct rpc_pipe_client
*cli
,
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] */,
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
,
116 NTSTATUS
rpccli_wkssvc_NetrWkstaTransportAdd(struct rpc_pipe_client
*cli
,
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] */,
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
,
132 NTSTATUS
rpccli_wkssvc_NetrWkstaTransportDel(struct rpc_pipe_client
*cli
,
134 const char *server_name
/* [in] [unique,charset(UTF16)] */,
135 const char *transport_name
/* [in] [unique,charset(UTF16)] */,
136 uint32_t unknown3
/* [in] */,
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
,
148 NTSTATUS
rpccli_wkssvc_NetrUseAdd(struct rpc_pipe_client
*cli
,
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] */,
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
,
165 NTSTATUS
rpccli_wkssvc_NetrUseGetInfo(struct rpc_pipe_client
*cli
,
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)] */,
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
,
181 NTSTATUS
rpccli_wkssvc_NetrUseDel(struct rpc_pipe_client
*cli
,
183 const char *server_name
/* [in] [unique,charset(UTF16)] */,
184 const char *use_name
/* [in] [ref,charset(UTF16)] */,
185 uint32_t force_cond
/* [in] */,
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
,
198 NTSTATUS
rpccli_wkssvc_NetrUseEnum(struct rpc_pipe_client
*cli
,
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] */,
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
,
217 NTSTATUS
rpccli_wkssvc_NetrMessageBufferSend(struct rpc_pipe_client
*cli
,
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] */,
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
,
236 NTSTATUS
rpccli_wkssvc_NetrWorkstationStatisticsGet(struct rpc_pipe_client
*cli
,
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] */,
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
,
251 NTSTATUS
rpccli_wkssvc_NetrLogonDomainNameAdd(struct rpc_pipe_client
*cli
,
253 const char *domain_name
/* [in] [ref,charset(UTF16)] */,
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
,
262 NTSTATUS
rpccli_wkssvc_NetrLogonDomainNameDel(struct rpc_pipe_client
*cli
,
264 const char *domain_name
/* [in] [ref,charset(UTF16)] */,
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
,
278 NTSTATUS
rpccli_wkssvc_NetrJoinDomain(struct rpc_pipe_client
*cli
,
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] */,
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
,
297 NTSTATUS
rpccli_wkssvc_NetrUnjoinDomain(struct rpc_pipe_client
*cli
,
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] */,
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
,
315 NTSTATUS
rpccli_wkssvc_NetrRenameMachineInDomain(struct rpc_pipe_client
*cli
,
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] */,
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
,
334 NTSTATUS
rpccli_wkssvc_NetrValidateName(struct rpc_pipe_client
*cli
,
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] */,
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
,
351 NTSTATUS
rpccli_wkssvc_NetrGetJoinInformation(struct rpc_pipe_client
*cli
,
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] */,
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
,
369 NTSTATUS
rpccli_wkssvc_NetrGetJoinableOus(struct rpc_pipe_client
*cli
,
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)] */,
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
,
390 NTSTATUS
rpccli_wkssvc_NetrJoinDomain2(struct rpc_pipe_client
*cli
,
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] */,
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
,
409 NTSTATUS
rpccli_wkssvc_NetrUnjoinDomain2(struct rpc_pipe_client
*cli
,
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] */,
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
,
427 NTSTATUS
rpccli_wkssvc_NetrRenameMachineInDomain2(struct rpc_pipe_client
*cli
,
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] */,
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
,
446 NTSTATUS
rpccli_wkssvc_NetrValidateName2(struct rpc_pipe_client
*cli
,
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] */,
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
,
466 NTSTATUS
rpccli_wkssvc_NetrGetJoinableOus2(struct rpc_pipe_client
*cli
,
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)] */,
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
,
486 NTSTATUS
rpccli_wkssvc_NetrAddAlternateComputerName(struct rpc_pipe_client
*cli
,
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] */,
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
,
505 NTSTATUS
rpccli_wkssvc_NetrRemoveAlternateComputerName(struct rpc_pipe_client
*cli
,
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] */,
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
,
524 NTSTATUS
rpccli_wkssvc_NetrSetPrimaryComputername(struct rpc_pipe_client
*cli
,
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] */,
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
,
542 NTSTATUS
rpccli_wkssvc_NetrEnumerateComputerNames(struct rpc_pipe_client
*cli
,
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] */,
549 #endif /* __CLI_WKSSVC__ */