1 | #include "../librpc/gen_ndr/ndr_srvsvc.h"
|
---|
2 | #ifndef __CLI_SRVSVC__
|
---|
3 | #define __CLI_SRVSVC__
|
---|
4 | struct tevent_req *rpccli_srvsvc_NetCharDevEnum_send(TALLOC_CTX *mem_ctx,
|
---|
5 | struct tevent_context *ev,
|
---|
6 | struct rpc_pipe_client *cli,
|
---|
7 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
8 | struct srvsvc_NetCharDevInfoCtr *_info_ctr /* [in,out] [ref] */,
|
---|
9 | uint32_t _max_buffer /* [in] */,
|
---|
10 | uint32_t *_totalentries /* [out] [ref] */,
|
---|
11 | uint32_t *_resume_handle /* [in,out] [unique] */);
|
---|
12 | NTSTATUS rpccli_srvsvc_NetCharDevEnum_recv(struct tevent_req *req,
|
---|
13 | TALLOC_CTX *mem_ctx,
|
---|
14 | WERROR *result);
|
---|
15 | NTSTATUS rpccli_srvsvc_NetCharDevEnum(struct rpc_pipe_client *cli,
|
---|
16 | TALLOC_CTX *mem_ctx,
|
---|
17 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
18 | struct srvsvc_NetCharDevInfoCtr *info_ctr /* [in,out] [ref] */,
|
---|
19 | uint32_t max_buffer /* [in] */,
|
---|
20 | uint32_t *totalentries /* [out] [ref] */,
|
---|
21 | uint32_t *resume_handle /* [in,out] [unique] */,
|
---|
22 | WERROR *werror);
|
---|
23 | struct tevent_req *rpccli_srvsvc_NetCharDevGetInfo_send(TALLOC_CTX *mem_ctx,
|
---|
24 | struct tevent_context *ev,
|
---|
25 | struct rpc_pipe_client *cli,
|
---|
26 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
27 | const char *_device_name /* [in] [charset(UTF16)] */,
|
---|
28 | uint32_t _level /* [in] */,
|
---|
29 | union srvsvc_NetCharDevInfo *_info /* [out] [ref,switch_is(level)] */);
|
---|
30 | NTSTATUS rpccli_srvsvc_NetCharDevGetInfo_recv(struct tevent_req *req,
|
---|
31 | TALLOC_CTX *mem_ctx,
|
---|
32 | WERROR *result);
|
---|
33 | NTSTATUS rpccli_srvsvc_NetCharDevGetInfo(struct rpc_pipe_client *cli,
|
---|
34 | TALLOC_CTX *mem_ctx,
|
---|
35 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
36 | const char *device_name /* [in] [charset(UTF16)] */,
|
---|
37 | uint32_t level /* [in] */,
|
---|
38 | union srvsvc_NetCharDevInfo *info /* [out] [ref,switch_is(level)] */,
|
---|
39 | WERROR *werror);
|
---|
40 | struct tevent_req *rpccli_srvsvc_NetCharDevControl_send(TALLOC_CTX *mem_ctx,
|
---|
41 | struct tevent_context *ev,
|
---|
42 | struct rpc_pipe_client *cli,
|
---|
43 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
44 | const char *_device_name /* [in] [charset(UTF16)] */,
|
---|
45 | uint32_t _opcode /* [in] */);
|
---|
46 | NTSTATUS rpccli_srvsvc_NetCharDevControl_recv(struct tevent_req *req,
|
---|
47 | TALLOC_CTX *mem_ctx,
|
---|
48 | WERROR *result);
|
---|
49 | NTSTATUS rpccli_srvsvc_NetCharDevControl(struct rpc_pipe_client *cli,
|
---|
50 | TALLOC_CTX *mem_ctx,
|
---|
51 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
52 | const char *device_name /* [in] [charset(UTF16)] */,
|
---|
53 | uint32_t opcode /* [in] */,
|
---|
54 | WERROR *werror);
|
---|
55 | struct tevent_req *rpccli_srvsvc_NetCharDevQEnum_send(TALLOC_CTX *mem_ctx,
|
---|
56 | struct tevent_context *ev,
|
---|
57 | struct rpc_pipe_client *cli,
|
---|
58 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
59 | const char *_user /* [in] [unique,charset(UTF16)] */,
|
---|
60 | struct srvsvc_NetCharDevQInfoCtr *_info_ctr /* [in,out] [ref] */,
|
---|
61 | uint32_t _max_buffer /* [in] */,
|
---|
62 | uint32_t *_totalentries /* [out] [ref] */,
|
---|
63 | uint32_t *_resume_handle /* [in,out] [unique] */);
|
---|
64 | NTSTATUS rpccli_srvsvc_NetCharDevQEnum_recv(struct tevent_req *req,
|
---|
65 | TALLOC_CTX *mem_ctx,
|
---|
66 | WERROR *result);
|
---|
67 | NTSTATUS rpccli_srvsvc_NetCharDevQEnum(struct rpc_pipe_client *cli,
|
---|
68 | TALLOC_CTX *mem_ctx,
|
---|
69 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
70 | const char *user /* [in] [unique,charset(UTF16)] */,
|
---|
71 | struct srvsvc_NetCharDevQInfoCtr *info_ctr /* [in,out] [ref] */,
|
---|
72 | uint32_t max_buffer /* [in] */,
|
---|
73 | uint32_t *totalentries /* [out] [ref] */,
|
---|
74 | uint32_t *resume_handle /* [in,out] [unique] */,
|
---|
75 | WERROR *werror);
|
---|
76 | struct tevent_req *rpccli_srvsvc_NetCharDevQGetInfo_send(TALLOC_CTX *mem_ctx,
|
---|
77 | struct tevent_context *ev,
|
---|
78 | struct rpc_pipe_client *cli,
|
---|
79 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
80 | const char *_queue_name /* [in] [charset(UTF16)] */,
|
---|
81 | const char *_user /* [in] [charset(UTF16)] */,
|
---|
82 | uint32_t _level /* [in] */,
|
---|
83 | union srvsvc_NetCharDevQInfo *_info /* [out] [ref,switch_is(level)] */);
|
---|
84 | NTSTATUS rpccli_srvsvc_NetCharDevQGetInfo_recv(struct tevent_req *req,
|
---|
85 | TALLOC_CTX *mem_ctx,
|
---|
86 | WERROR *result);
|
---|
87 | NTSTATUS rpccli_srvsvc_NetCharDevQGetInfo(struct rpc_pipe_client *cli,
|
---|
88 | TALLOC_CTX *mem_ctx,
|
---|
89 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
90 | const char *queue_name /* [in] [charset(UTF16)] */,
|
---|
91 | const char *user /* [in] [charset(UTF16)] */,
|
---|
92 | uint32_t level /* [in] */,
|
---|
93 | union srvsvc_NetCharDevQInfo *info /* [out] [ref,switch_is(level)] */,
|
---|
94 | WERROR *werror);
|
---|
95 | struct tevent_req *rpccli_srvsvc_NetCharDevQSetInfo_send(TALLOC_CTX *mem_ctx,
|
---|
96 | struct tevent_context *ev,
|
---|
97 | struct rpc_pipe_client *cli,
|
---|
98 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
99 | const char *_queue_name /* [in] [charset(UTF16)] */,
|
---|
100 | uint32_t _level /* [in] */,
|
---|
101 | union srvsvc_NetCharDevQInfo _info /* [in] [switch_is(level)] */,
|
---|
102 | uint32_t *_parm_error /* [in,out] [unique] */);
|
---|
103 | NTSTATUS rpccli_srvsvc_NetCharDevQSetInfo_recv(struct tevent_req *req,
|
---|
104 | TALLOC_CTX *mem_ctx,
|
---|
105 | WERROR *result);
|
---|
106 | NTSTATUS rpccli_srvsvc_NetCharDevQSetInfo(struct rpc_pipe_client *cli,
|
---|
107 | TALLOC_CTX *mem_ctx,
|
---|
108 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
109 | const char *queue_name /* [in] [charset(UTF16)] */,
|
---|
110 | uint32_t level /* [in] */,
|
---|
111 | union srvsvc_NetCharDevQInfo info /* [in] [switch_is(level)] */,
|
---|
112 | uint32_t *parm_error /* [in,out] [unique] */,
|
---|
113 | WERROR *werror);
|
---|
114 | struct tevent_req *rpccli_srvsvc_NetCharDevQPurge_send(TALLOC_CTX *mem_ctx,
|
---|
115 | struct tevent_context *ev,
|
---|
116 | struct rpc_pipe_client *cli,
|
---|
117 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
118 | const char *_queue_name /* [in] [charset(UTF16)] */);
|
---|
119 | NTSTATUS rpccli_srvsvc_NetCharDevQPurge_recv(struct tevent_req *req,
|
---|
120 | TALLOC_CTX *mem_ctx,
|
---|
121 | WERROR *result);
|
---|
122 | NTSTATUS rpccli_srvsvc_NetCharDevQPurge(struct rpc_pipe_client *cli,
|
---|
123 | TALLOC_CTX *mem_ctx,
|
---|
124 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
125 | const char *queue_name /* [in] [charset(UTF16)] */,
|
---|
126 | WERROR *werror);
|
---|
127 | struct tevent_req *rpccli_srvsvc_NetCharDevQPurgeSelf_send(TALLOC_CTX *mem_ctx,
|
---|
128 | struct tevent_context *ev,
|
---|
129 | struct rpc_pipe_client *cli,
|
---|
130 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
131 | const char *_queue_name /* [in] [charset(UTF16)] */,
|
---|
132 | const char *_computer_name /* [in] [charset(UTF16)] */);
|
---|
133 | NTSTATUS rpccli_srvsvc_NetCharDevQPurgeSelf_recv(struct tevent_req *req,
|
---|
134 | TALLOC_CTX *mem_ctx,
|
---|
135 | WERROR *result);
|
---|
136 | NTSTATUS rpccli_srvsvc_NetCharDevQPurgeSelf(struct rpc_pipe_client *cli,
|
---|
137 | TALLOC_CTX *mem_ctx,
|
---|
138 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
139 | const char *queue_name /* [in] [charset(UTF16)] */,
|
---|
140 | const char *computer_name /* [in] [charset(UTF16)] */,
|
---|
141 | WERROR *werror);
|
---|
142 | struct tevent_req *rpccli_srvsvc_NetConnEnum_send(TALLOC_CTX *mem_ctx,
|
---|
143 | struct tevent_context *ev,
|
---|
144 | struct rpc_pipe_client *cli,
|
---|
145 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
146 | const char *_path /* [in] [unique,charset(UTF16)] */,
|
---|
147 | struct srvsvc_NetConnInfoCtr *_info_ctr /* [in,out] [ref] */,
|
---|
148 | uint32_t _max_buffer /* [in] */,
|
---|
149 | uint32_t *_totalentries /* [out] [ref] */,
|
---|
150 | uint32_t *_resume_handle /* [in,out] [unique] */);
|
---|
151 | NTSTATUS rpccli_srvsvc_NetConnEnum_recv(struct tevent_req *req,
|
---|
152 | TALLOC_CTX *mem_ctx,
|
---|
153 | WERROR *result);
|
---|
154 | NTSTATUS rpccli_srvsvc_NetConnEnum(struct rpc_pipe_client *cli,
|
---|
155 | TALLOC_CTX *mem_ctx,
|
---|
156 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
157 | const char *path /* [in] [unique,charset(UTF16)] */,
|
---|
158 | struct srvsvc_NetConnInfoCtr *info_ctr /* [in,out] [ref] */,
|
---|
159 | uint32_t max_buffer /* [in] */,
|
---|
160 | uint32_t *totalentries /* [out] [ref] */,
|
---|
161 | uint32_t *resume_handle /* [in,out] [unique] */,
|
---|
162 | WERROR *werror);
|
---|
163 | struct tevent_req *rpccli_srvsvc_NetFileEnum_send(TALLOC_CTX *mem_ctx,
|
---|
164 | struct tevent_context *ev,
|
---|
165 | struct rpc_pipe_client *cli,
|
---|
166 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
167 | const char *_path /* [in] [unique,charset(UTF16)] */,
|
---|
168 | const char *_user /* [in] [unique,charset(UTF16)] */,
|
---|
169 | struct srvsvc_NetFileInfoCtr *_info_ctr /* [in,out] [ref] */,
|
---|
170 | uint32_t _max_buffer /* [in] */,
|
---|
171 | uint32_t *_totalentries /* [out] [ref] */,
|
---|
172 | uint32_t *_resume_handle /* [in,out] [unique] */);
|
---|
173 | NTSTATUS rpccli_srvsvc_NetFileEnum_recv(struct tevent_req *req,
|
---|
174 | TALLOC_CTX *mem_ctx,
|
---|
175 | WERROR *result);
|
---|
176 | NTSTATUS rpccli_srvsvc_NetFileEnum(struct rpc_pipe_client *cli,
|
---|
177 | TALLOC_CTX *mem_ctx,
|
---|
178 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
179 | const char *path /* [in] [unique,charset(UTF16)] */,
|
---|
180 | const char *user /* [in] [unique,charset(UTF16)] */,
|
---|
181 | struct srvsvc_NetFileInfoCtr *info_ctr /* [in,out] [ref] */,
|
---|
182 | uint32_t max_buffer /* [in] */,
|
---|
183 | uint32_t *totalentries /* [out] [ref] */,
|
---|
184 | uint32_t *resume_handle /* [in,out] [unique] */,
|
---|
185 | WERROR *werror);
|
---|
186 | struct tevent_req *rpccli_srvsvc_NetFileGetInfo_send(TALLOC_CTX *mem_ctx,
|
---|
187 | struct tevent_context *ev,
|
---|
188 | struct rpc_pipe_client *cli,
|
---|
189 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
190 | uint32_t _fid /* [in] */,
|
---|
191 | uint32_t _level /* [in] */,
|
---|
192 | union srvsvc_NetFileInfo *_info /* [out] [ref,switch_is(level)] */);
|
---|
193 | NTSTATUS rpccli_srvsvc_NetFileGetInfo_recv(struct tevent_req *req,
|
---|
194 | TALLOC_CTX *mem_ctx,
|
---|
195 | WERROR *result);
|
---|
196 | NTSTATUS rpccli_srvsvc_NetFileGetInfo(struct rpc_pipe_client *cli,
|
---|
197 | TALLOC_CTX *mem_ctx,
|
---|
198 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
199 | uint32_t fid /* [in] */,
|
---|
200 | uint32_t level /* [in] */,
|
---|
201 | union srvsvc_NetFileInfo *info /* [out] [ref,switch_is(level)] */,
|
---|
202 | WERROR *werror);
|
---|
203 | struct tevent_req *rpccli_srvsvc_NetFileClose_send(TALLOC_CTX *mem_ctx,
|
---|
204 | struct tevent_context *ev,
|
---|
205 | struct rpc_pipe_client *cli,
|
---|
206 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
207 | uint32_t _fid /* [in] */);
|
---|
208 | NTSTATUS rpccli_srvsvc_NetFileClose_recv(struct tevent_req *req,
|
---|
209 | TALLOC_CTX *mem_ctx,
|
---|
210 | WERROR *result);
|
---|
211 | NTSTATUS rpccli_srvsvc_NetFileClose(struct rpc_pipe_client *cli,
|
---|
212 | TALLOC_CTX *mem_ctx,
|
---|
213 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
214 | uint32_t fid /* [in] */,
|
---|
215 | WERROR *werror);
|
---|
216 | struct tevent_req *rpccli_srvsvc_NetSessEnum_send(TALLOC_CTX *mem_ctx,
|
---|
217 | struct tevent_context *ev,
|
---|
218 | struct rpc_pipe_client *cli,
|
---|
219 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
220 | const char *_client /* [in] [unique,charset(UTF16)] */,
|
---|
221 | const char *_user /* [in] [unique,charset(UTF16)] */,
|
---|
222 | struct srvsvc_NetSessInfoCtr *_info_ctr /* [in,out] [ref] */,
|
---|
223 | uint32_t _max_buffer /* [in] */,
|
---|
224 | uint32_t *_totalentries /* [out] [ref] */,
|
---|
225 | uint32_t *_resume_handle /* [in,out] [unique] */);
|
---|
226 | NTSTATUS rpccli_srvsvc_NetSessEnum_recv(struct tevent_req *req,
|
---|
227 | TALLOC_CTX *mem_ctx,
|
---|
228 | WERROR *result);
|
---|
229 | NTSTATUS rpccli_srvsvc_NetSessEnum(struct rpc_pipe_client *cli,
|
---|
230 | TALLOC_CTX *mem_ctx,
|
---|
231 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
232 | const char *client /* [in] [unique,charset(UTF16)] */,
|
---|
233 | const char *user /* [in] [unique,charset(UTF16)] */,
|
---|
234 | struct srvsvc_NetSessInfoCtr *info_ctr /* [in,out] [ref] */,
|
---|
235 | uint32_t max_buffer /* [in] */,
|
---|
236 | uint32_t *totalentries /* [out] [ref] */,
|
---|
237 | uint32_t *resume_handle /* [in,out] [unique] */,
|
---|
238 | WERROR *werror);
|
---|
239 | struct tevent_req *rpccli_srvsvc_NetSessDel_send(TALLOC_CTX *mem_ctx,
|
---|
240 | struct tevent_context *ev,
|
---|
241 | struct rpc_pipe_client *cli,
|
---|
242 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
243 | const char *_client /* [in] [unique,charset(UTF16)] */,
|
---|
244 | const char *_user /* [in] [unique,charset(UTF16)] */);
|
---|
245 | NTSTATUS rpccli_srvsvc_NetSessDel_recv(struct tevent_req *req,
|
---|
246 | TALLOC_CTX *mem_ctx,
|
---|
247 | WERROR *result);
|
---|
248 | NTSTATUS rpccli_srvsvc_NetSessDel(struct rpc_pipe_client *cli,
|
---|
249 | TALLOC_CTX *mem_ctx,
|
---|
250 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
251 | const char *client /* [in] [unique,charset(UTF16)] */,
|
---|
252 | const char *user /* [in] [unique,charset(UTF16)] */,
|
---|
253 | WERROR *werror);
|
---|
254 | struct tevent_req *rpccli_srvsvc_NetShareAdd_send(TALLOC_CTX *mem_ctx,
|
---|
255 | struct tevent_context *ev,
|
---|
256 | struct rpc_pipe_client *cli,
|
---|
257 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
258 | uint32_t _level /* [in] */,
|
---|
259 | union srvsvc_NetShareInfo *_info /* [in] [ref,switch_is(level)] */,
|
---|
260 | uint32_t *_parm_error /* [in,out] [unique] */);
|
---|
261 | NTSTATUS rpccli_srvsvc_NetShareAdd_recv(struct tevent_req *req,
|
---|
262 | TALLOC_CTX *mem_ctx,
|
---|
263 | WERROR *result);
|
---|
264 | NTSTATUS rpccli_srvsvc_NetShareAdd(struct rpc_pipe_client *cli,
|
---|
265 | TALLOC_CTX *mem_ctx,
|
---|
266 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
267 | uint32_t level /* [in] */,
|
---|
268 | union srvsvc_NetShareInfo *info /* [in] [ref,switch_is(level)] */,
|
---|
269 | uint32_t *parm_error /* [in,out] [unique] */,
|
---|
270 | WERROR *werror);
|
---|
271 | struct tevent_req *rpccli_srvsvc_NetShareEnumAll_send(TALLOC_CTX *mem_ctx,
|
---|
272 | struct tevent_context *ev,
|
---|
273 | struct rpc_pipe_client *cli,
|
---|
274 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
275 | struct srvsvc_NetShareInfoCtr *_info_ctr /* [in,out] [ref] */,
|
---|
276 | uint32_t _max_buffer /* [in] */,
|
---|
277 | uint32_t *_totalentries /* [out] [ref] */,
|
---|
278 | uint32_t *_resume_handle /* [in,out] [unique] */);
|
---|
279 | NTSTATUS rpccli_srvsvc_NetShareEnumAll_recv(struct tevent_req *req,
|
---|
280 | TALLOC_CTX *mem_ctx,
|
---|
281 | WERROR *result);
|
---|
282 | NTSTATUS rpccli_srvsvc_NetShareEnumAll(struct rpc_pipe_client *cli,
|
---|
283 | TALLOC_CTX *mem_ctx,
|
---|
284 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
285 | struct srvsvc_NetShareInfoCtr *info_ctr /* [in,out] [ref] */,
|
---|
286 | uint32_t max_buffer /* [in] */,
|
---|
287 | uint32_t *totalentries /* [out] [ref] */,
|
---|
288 | uint32_t *resume_handle /* [in,out] [unique] */,
|
---|
289 | WERROR *werror);
|
---|
290 | struct tevent_req *rpccli_srvsvc_NetShareGetInfo_send(TALLOC_CTX *mem_ctx,
|
---|
291 | struct tevent_context *ev,
|
---|
292 | struct rpc_pipe_client *cli,
|
---|
293 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
294 | const char *_share_name /* [in] [charset(UTF16)] */,
|
---|
295 | uint32_t _level /* [in] */,
|
---|
296 | union srvsvc_NetShareInfo *_info /* [out] [ref,switch_is(level)] */);
|
---|
297 | NTSTATUS rpccli_srvsvc_NetShareGetInfo_recv(struct tevent_req *req,
|
---|
298 | TALLOC_CTX *mem_ctx,
|
---|
299 | WERROR *result);
|
---|
300 | NTSTATUS rpccli_srvsvc_NetShareGetInfo(struct rpc_pipe_client *cli,
|
---|
301 | TALLOC_CTX *mem_ctx,
|
---|
302 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
303 | const char *share_name /* [in] [charset(UTF16)] */,
|
---|
304 | uint32_t level /* [in] */,
|
---|
305 | union srvsvc_NetShareInfo *info /* [out] [ref,switch_is(level)] */,
|
---|
306 | WERROR *werror);
|
---|
307 | struct tevent_req *rpccli_srvsvc_NetShareSetInfo_send(TALLOC_CTX *mem_ctx,
|
---|
308 | struct tevent_context *ev,
|
---|
309 | struct rpc_pipe_client *cli,
|
---|
310 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
311 | const char *_share_name /* [in] [charset(UTF16)] */,
|
---|
312 | uint32_t _level /* [in] */,
|
---|
313 | union srvsvc_NetShareInfo *_info /* [in] [ref,switch_is(level)] */,
|
---|
314 | uint32_t *_parm_error /* [in,out] [unique] */);
|
---|
315 | NTSTATUS rpccli_srvsvc_NetShareSetInfo_recv(struct tevent_req *req,
|
---|
316 | TALLOC_CTX *mem_ctx,
|
---|
317 | WERROR *result);
|
---|
318 | NTSTATUS rpccli_srvsvc_NetShareSetInfo(struct rpc_pipe_client *cli,
|
---|
319 | TALLOC_CTX *mem_ctx,
|
---|
320 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
321 | const char *share_name /* [in] [charset(UTF16)] */,
|
---|
322 | uint32_t level /* [in] */,
|
---|
323 | union srvsvc_NetShareInfo *info /* [in] [ref,switch_is(level)] */,
|
---|
324 | uint32_t *parm_error /* [in,out] [unique] */,
|
---|
325 | WERROR *werror);
|
---|
326 | struct tevent_req *rpccli_srvsvc_NetShareDel_send(TALLOC_CTX *mem_ctx,
|
---|
327 | struct tevent_context *ev,
|
---|
328 | struct rpc_pipe_client *cli,
|
---|
329 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
330 | const char *_share_name /* [in] [charset(UTF16)] */,
|
---|
331 | uint32_t _reserved /* [in] */);
|
---|
332 | NTSTATUS rpccli_srvsvc_NetShareDel_recv(struct tevent_req *req,
|
---|
333 | TALLOC_CTX *mem_ctx,
|
---|
334 | WERROR *result);
|
---|
335 | NTSTATUS rpccli_srvsvc_NetShareDel(struct rpc_pipe_client *cli,
|
---|
336 | TALLOC_CTX *mem_ctx,
|
---|
337 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
338 | const char *share_name /* [in] [charset(UTF16)] */,
|
---|
339 | uint32_t reserved /* [in] */,
|
---|
340 | WERROR *werror);
|
---|
341 | struct tevent_req *rpccli_srvsvc_NetShareDelSticky_send(TALLOC_CTX *mem_ctx,
|
---|
342 | struct tevent_context *ev,
|
---|
343 | struct rpc_pipe_client *cli,
|
---|
344 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
345 | const char *_share_name /* [in] [charset(UTF16)] */,
|
---|
346 | uint32_t _reserved /* [in] */);
|
---|
347 | NTSTATUS rpccli_srvsvc_NetShareDelSticky_recv(struct tevent_req *req,
|
---|
348 | TALLOC_CTX *mem_ctx,
|
---|
349 | WERROR *result);
|
---|
350 | NTSTATUS rpccli_srvsvc_NetShareDelSticky(struct rpc_pipe_client *cli,
|
---|
351 | TALLOC_CTX *mem_ctx,
|
---|
352 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
353 | const char *share_name /* [in] [charset(UTF16)] */,
|
---|
354 | uint32_t reserved /* [in] */,
|
---|
355 | WERROR *werror);
|
---|
356 | struct tevent_req *rpccli_srvsvc_NetShareCheck_send(TALLOC_CTX *mem_ctx,
|
---|
357 | struct tevent_context *ev,
|
---|
358 | struct rpc_pipe_client *cli,
|
---|
359 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
360 | const char *_device_name /* [in] [charset(UTF16)] */,
|
---|
361 | enum srvsvc_ShareType *_type /* [out] [ref] */);
|
---|
362 | NTSTATUS rpccli_srvsvc_NetShareCheck_recv(struct tevent_req *req,
|
---|
363 | TALLOC_CTX *mem_ctx,
|
---|
364 | WERROR *result);
|
---|
365 | NTSTATUS rpccli_srvsvc_NetShareCheck(struct rpc_pipe_client *cli,
|
---|
366 | TALLOC_CTX *mem_ctx,
|
---|
367 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
368 | const char *device_name /* [in] [charset(UTF16)] */,
|
---|
369 | enum srvsvc_ShareType *type /* [out] [ref] */,
|
---|
370 | WERROR *werror);
|
---|
371 | struct tevent_req *rpccli_srvsvc_NetSrvGetInfo_send(TALLOC_CTX *mem_ctx,
|
---|
372 | struct tevent_context *ev,
|
---|
373 | struct rpc_pipe_client *cli,
|
---|
374 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
375 | uint32_t _level /* [in] */,
|
---|
376 | union srvsvc_NetSrvInfo *_info /* [out] [ref,switch_is(level)] */);
|
---|
377 | NTSTATUS rpccli_srvsvc_NetSrvGetInfo_recv(struct tevent_req *req,
|
---|
378 | TALLOC_CTX *mem_ctx,
|
---|
379 | WERROR *result);
|
---|
380 | NTSTATUS rpccli_srvsvc_NetSrvGetInfo(struct rpc_pipe_client *cli,
|
---|
381 | TALLOC_CTX *mem_ctx,
|
---|
382 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
383 | uint32_t level /* [in] */,
|
---|
384 | union srvsvc_NetSrvInfo *info /* [out] [ref,switch_is(level)] */,
|
---|
385 | WERROR *werror);
|
---|
386 | struct tevent_req *rpccli_srvsvc_NetSrvSetInfo_send(TALLOC_CTX *mem_ctx,
|
---|
387 | struct tevent_context *ev,
|
---|
388 | struct rpc_pipe_client *cli,
|
---|
389 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
390 | uint32_t _level /* [in] */,
|
---|
391 | union srvsvc_NetSrvInfo *_info /* [in] [ref,switch_is(level)] */,
|
---|
392 | uint32_t *_parm_error /* [in,out] [unique] */);
|
---|
393 | NTSTATUS rpccli_srvsvc_NetSrvSetInfo_recv(struct tevent_req *req,
|
---|
394 | TALLOC_CTX *mem_ctx,
|
---|
395 | WERROR *result);
|
---|
396 | NTSTATUS rpccli_srvsvc_NetSrvSetInfo(struct rpc_pipe_client *cli,
|
---|
397 | TALLOC_CTX *mem_ctx,
|
---|
398 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
399 | uint32_t level /* [in] */,
|
---|
400 | union srvsvc_NetSrvInfo *info /* [in] [ref,switch_is(level)] */,
|
---|
401 | uint32_t *parm_error /* [in,out] [unique] */,
|
---|
402 | WERROR *werror);
|
---|
403 | struct tevent_req *rpccli_srvsvc_NetDiskEnum_send(TALLOC_CTX *mem_ctx,
|
---|
404 | struct tevent_context *ev,
|
---|
405 | struct rpc_pipe_client *cli,
|
---|
406 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
407 | uint32_t _level /* [in] */,
|
---|
408 | struct srvsvc_NetDiskInfo *_info /* [in,out] [ref] */,
|
---|
409 | uint32_t _maxlen /* [in] */,
|
---|
410 | uint32_t *_totalentries /* [out] [ref] */,
|
---|
411 | uint32_t *_resume_handle /* [in,out] [unique] */);
|
---|
412 | NTSTATUS rpccli_srvsvc_NetDiskEnum_recv(struct tevent_req *req,
|
---|
413 | TALLOC_CTX *mem_ctx,
|
---|
414 | WERROR *result);
|
---|
415 | NTSTATUS rpccli_srvsvc_NetDiskEnum(struct rpc_pipe_client *cli,
|
---|
416 | TALLOC_CTX *mem_ctx,
|
---|
417 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
418 | uint32_t level /* [in] */,
|
---|
419 | struct srvsvc_NetDiskInfo *info /* [in,out] [ref] */,
|
---|
420 | uint32_t maxlen /* [in] */,
|
---|
421 | uint32_t *totalentries /* [out] [ref] */,
|
---|
422 | uint32_t *resume_handle /* [in,out] [unique] */,
|
---|
423 | WERROR *werror);
|
---|
424 | struct tevent_req *rpccli_srvsvc_NetServerStatisticsGet_send(TALLOC_CTX *mem_ctx,
|
---|
425 | struct tevent_context *ev,
|
---|
426 | struct rpc_pipe_client *cli,
|
---|
427 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
428 | const char *_service /* [in] [unique,charset(UTF16)] */,
|
---|
429 | uint32_t _level /* [in] */,
|
---|
430 | uint32_t _options /* [in] */,
|
---|
431 | struct srvsvc_Statistics **_stats /* [out] [ref] */);
|
---|
432 | NTSTATUS rpccli_srvsvc_NetServerStatisticsGet_recv(struct tevent_req *req,
|
---|
433 | TALLOC_CTX *mem_ctx,
|
---|
434 | WERROR *result);
|
---|
435 | NTSTATUS rpccli_srvsvc_NetServerStatisticsGet(struct rpc_pipe_client *cli,
|
---|
436 | TALLOC_CTX *mem_ctx,
|
---|
437 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
438 | const char *service /* [in] [unique,charset(UTF16)] */,
|
---|
439 | uint32_t level /* [in] */,
|
---|
440 | uint32_t options /* [in] */,
|
---|
441 | struct srvsvc_Statistics **stats /* [out] [ref] */,
|
---|
442 | WERROR *werror);
|
---|
443 | struct tevent_req *rpccli_srvsvc_NetTransportAdd_send(TALLOC_CTX *mem_ctx,
|
---|
444 | struct tevent_context *ev,
|
---|
445 | struct rpc_pipe_client *cli,
|
---|
446 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
447 | uint32_t _level /* [in] */,
|
---|
448 | union srvsvc_NetTransportInfo _info /* [in] [switch_is(level)] */);
|
---|
449 | NTSTATUS rpccli_srvsvc_NetTransportAdd_recv(struct tevent_req *req,
|
---|
450 | TALLOC_CTX *mem_ctx,
|
---|
451 | WERROR *result);
|
---|
452 | NTSTATUS rpccli_srvsvc_NetTransportAdd(struct rpc_pipe_client *cli,
|
---|
453 | TALLOC_CTX *mem_ctx,
|
---|
454 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
455 | uint32_t level /* [in] */,
|
---|
456 | union srvsvc_NetTransportInfo info /* [in] [switch_is(level)] */,
|
---|
457 | WERROR *werror);
|
---|
458 | struct tevent_req *rpccli_srvsvc_NetTransportEnum_send(TALLOC_CTX *mem_ctx,
|
---|
459 | struct tevent_context *ev,
|
---|
460 | struct rpc_pipe_client *cli,
|
---|
461 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
462 | struct srvsvc_NetTransportInfoCtr *_transports /* [in,out] [ref] */,
|
---|
463 | uint32_t _max_buffer /* [in] */,
|
---|
464 | uint32_t *_totalentries /* [out] [ref] */,
|
---|
465 | uint32_t *_resume_handle /* [in,out] [unique] */);
|
---|
466 | NTSTATUS rpccli_srvsvc_NetTransportEnum_recv(struct tevent_req *req,
|
---|
467 | TALLOC_CTX *mem_ctx,
|
---|
468 | WERROR *result);
|
---|
469 | NTSTATUS rpccli_srvsvc_NetTransportEnum(struct rpc_pipe_client *cli,
|
---|
470 | TALLOC_CTX *mem_ctx,
|
---|
471 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
472 | struct srvsvc_NetTransportInfoCtr *transports /* [in,out] [ref] */,
|
---|
473 | uint32_t max_buffer /* [in] */,
|
---|
474 | uint32_t *totalentries /* [out] [ref] */,
|
---|
475 | uint32_t *resume_handle /* [in,out] [unique] */,
|
---|
476 | WERROR *werror);
|
---|
477 | struct tevent_req *rpccli_srvsvc_NetTransportDel_send(TALLOC_CTX *mem_ctx,
|
---|
478 | struct tevent_context *ev,
|
---|
479 | struct rpc_pipe_client *cli,
|
---|
480 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
481 | uint32_t _level /* [in] */,
|
---|
482 | struct srvsvc_NetTransportInfo0 *_info0 /* [in] [ref] */);
|
---|
483 | NTSTATUS rpccli_srvsvc_NetTransportDel_recv(struct tevent_req *req,
|
---|
484 | TALLOC_CTX *mem_ctx,
|
---|
485 | WERROR *result);
|
---|
486 | NTSTATUS rpccli_srvsvc_NetTransportDel(struct rpc_pipe_client *cli,
|
---|
487 | TALLOC_CTX *mem_ctx,
|
---|
488 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
489 | uint32_t level /* [in] */,
|
---|
490 | struct srvsvc_NetTransportInfo0 *info0 /* [in] [ref] */,
|
---|
491 | WERROR *werror);
|
---|
492 | struct tevent_req *rpccli_srvsvc_NetRemoteTOD_send(TALLOC_CTX *mem_ctx,
|
---|
493 | struct tevent_context *ev,
|
---|
494 | struct rpc_pipe_client *cli,
|
---|
495 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
496 | struct srvsvc_NetRemoteTODInfo **_info /* [out] [ref] */);
|
---|
497 | NTSTATUS rpccli_srvsvc_NetRemoteTOD_recv(struct tevent_req *req,
|
---|
498 | TALLOC_CTX *mem_ctx,
|
---|
499 | WERROR *result);
|
---|
500 | NTSTATUS rpccli_srvsvc_NetRemoteTOD(struct rpc_pipe_client *cli,
|
---|
501 | TALLOC_CTX *mem_ctx,
|
---|
502 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
503 | struct srvsvc_NetRemoteTODInfo **info /* [out] [ref] */,
|
---|
504 | WERROR *werror);
|
---|
505 | struct tevent_req *rpccli_srvsvc_NetSetServiceBits_send(TALLOC_CTX *mem_ctx,
|
---|
506 | struct tevent_context *ev,
|
---|
507 | struct rpc_pipe_client *cli,
|
---|
508 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
509 | const char *_transport /* [in] [unique,charset(UTF16)] */,
|
---|
510 | uint32_t _servicebits /* [in] */,
|
---|
511 | uint32_t _updateimmediately /* [in] */);
|
---|
512 | NTSTATUS rpccli_srvsvc_NetSetServiceBits_recv(struct tevent_req *req,
|
---|
513 | TALLOC_CTX *mem_ctx,
|
---|
514 | WERROR *result);
|
---|
515 | NTSTATUS rpccli_srvsvc_NetSetServiceBits(struct rpc_pipe_client *cli,
|
---|
516 | TALLOC_CTX *mem_ctx,
|
---|
517 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
518 | const char *transport /* [in] [unique,charset(UTF16)] */,
|
---|
519 | uint32_t servicebits /* [in] */,
|
---|
520 | uint32_t updateimmediately /* [in] */,
|
---|
521 | WERROR *werror);
|
---|
522 | struct tevent_req *rpccli_srvsvc_NetPathType_send(TALLOC_CTX *mem_ctx,
|
---|
523 | struct tevent_context *ev,
|
---|
524 | struct rpc_pipe_client *cli,
|
---|
525 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
526 | const char *_path /* [in] [charset(UTF16)] */,
|
---|
527 | uint32_t _pathflags /* [in] */,
|
---|
528 | uint32_t *_pathtype /* [out] [ref] */);
|
---|
529 | NTSTATUS rpccli_srvsvc_NetPathType_recv(struct tevent_req *req,
|
---|
530 | TALLOC_CTX *mem_ctx,
|
---|
531 | WERROR *result);
|
---|
532 | NTSTATUS rpccli_srvsvc_NetPathType(struct rpc_pipe_client *cli,
|
---|
533 | TALLOC_CTX *mem_ctx,
|
---|
534 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
535 | const char *path /* [in] [charset(UTF16)] */,
|
---|
536 | uint32_t pathflags /* [in] */,
|
---|
537 | uint32_t *pathtype /* [out] [ref] */,
|
---|
538 | WERROR *werror);
|
---|
539 | struct tevent_req *rpccli_srvsvc_NetPathCanonicalize_send(TALLOC_CTX *mem_ctx,
|
---|
540 | struct tevent_context *ev,
|
---|
541 | struct rpc_pipe_client *cli,
|
---|
542 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
543 | const char *_path /* [in] [charset(UTF16)] */,
|
---|
544 | uint8_t *_can_path /* [out] [size_is(maxbuf)] */,
|
---|
545 | uint32_t _maxbuf /* [in] */,
|
---|
546 | const char *_prefix /* [in] [charset(UTF16)] */,
|
---|
547 | uint32_t *_pathtype /* [in,out] [ref] */,
|
---|
548 | uint32_t _pathflags /* [in] */);
|
---|
549 | NTSTATUS rpccli_srvsvc_NetPathCanonicalize_recv(struct tevent_req *req,
|
---|
550 | TALLOC_CTX *mem_ctx,
|
---|
551 | WERROR *result);
|
---|
552 | NTSTATUS rpccli_srvsvc_NetPathCanonicalize(struct rpc_pipe_client *cli,
|
---|
553 | TALLOC_CTX *mem_ctx,
|
---|
554 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
555 | const char *path /* [in] [charset(UTF16)] */,
|
---|
556 | uint8_t *can_path /* [out] [size_is(maxbuf)] */,
|
---|
557 | uint32_t maxbuf /* [in] */,
|
---|
558 | const char *prefix /* [in] [charset(UTF16)] */,
|
---|
559 | uint32_t *pathtype /* [in,out] [ref] */,
|
---|
560 | uint32_t pathflags /* [in] */,
|
---|
561 | WERROR *werror);
|
---|
562 | struct tevent_req *rpccli_srvsvc_NetPathCompare_send(TALLOC_CTX *mem_ctx,
|
---|
563 | struct tevent_context *ev,
|
---|
564 | struct rpc_pipe_client *cli,
|
---|
565 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
566 | const char *_path1 /* [in] [charset(UTF16)] */,
|
---|
567 | const char *_path2 /* [in] [charset(UTF16)] */,
|
---|
568 | uint32_t _pathtype /* [in] */,
|
---|
569 | uint32_t _pathflags /* [in] */);
|
---|
570 | NTSTATUS rpccli_srvsvc_NetPathCompare_recv(struct tevent_req *req,
|
---|
571 | TALLOC_CTX *mem_ctx,
|
---|
572 | WERROR *result);
|
---|
573 | NTSTATUS rpccli_srvsvc_NetPathCompare(struct rpc_pipe_client *cli,
|
---|
574 | TALLOC_CTX *mem_ctx,
|
---|
575 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
576 | const char *path1 /* [in] [charset(UTF16)] */,
|
---|
577 | const char *path2 /* [in] [charset(UTF16)] */,
|
---|
578 | uint32_t pathtype /* [in] */,
|
---|
579 | uint32_t pathflags /* [in] */,
|
---|
580 | WERROR *werror);
|
---|
581 | struct tevent_req *rpccli_srvsvc_NetNameValidate_send(TALLOC_CTX *mem_ctx,
|
---|
582 | struct tevent_context *ev,
|
---|
583 | struct rpc_pipe_client *cli,
|
---|
584 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
585 | const char *_name /* [in] [charset(UTF16)] */,
|
---|
586 | uint32_t _name_type /* [in] */,
|
---|
587 | uint32_t _flags /* [in] */);
|
---|
588 | NTSTATUS rpccli_srvsvc_NetNameValidate_recv(struct tevent_req *req,
|
---|
589 | TALLOC_CTX *mem_ctx,
|
---|
590 | WERROR *result);
|
---|
591 | NTSTATUS rpccli_srvsvc_NetNameValidate(struct rpc_pipe_client *cli,
|
---|
592 | TALLOC_CTX *mem_ctx,
|
---|
593 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
594 | const char *name /* [in] [charset(UTF16)] */,
|
---|
595 | uint32_t name_type /* [in] */,
|
---|
596 | uint32_t flags /* [in] */,
|
---|
597 | WERROR *werror);
|
---|
598 | struct tevent_req *rpccli_srvsvc_NETRPRNAMECANONICALIZE_send(TALLOC_CTX *mem_ctx,
|
---|
599 | struct tevent_context *ev,
|
---|
600 | struct rpc_pipe_client *cli);
|
---|
601 | NTSTATUS rpccli_srvsvc_NETRPRNAMECANONICALIZE_recv(struct tevent_req *req,
|
---|
602 | TALLOC_CTX *mem_ctx,
|
---|
603 | WERROR *result);
|
---|
604 | NTSTATUS rpccli_srvsvc_NETRPRNAMECANONICALIZE(struct rpc_pipe_client *cli,
|
---|
605 | TALLOC_CTX *mem_ctx,
|
---|
606 | WERROR *werror);
|
---|
607 | struct tevent_req *rpccli_srvsvc_NetPRNameCompare_send(TALLOC_CTX *mem_ctx,
|
---|
608 | struct tevent_context *ev,
|
---|
609 | struct rpc_pipe_client *cli,
|
---|
610 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
611 | const char *_name1 /* [in] [charset(UTF16)] */,
|
---|
612 | const char *_name2 /* [in] [charset(UTF16)] */,
|
---|
613 | uint32_t _name_type /* [in] */,
|
---|
614 | uint32_t _flags /* [in] */);
|
---|
615 | NTSTATUS rpccli_srvsvc_NetPRNameCompare_recv(struct tevent_req *req,
|
---|
616 | TALLOC_CTX *mem_ctx,
|
---|
617 | WERROR *result);
|
---|
618 | NTSTATUS rpccli_srvsvc_NetPRNameCompare(struct rpc_pipe_client *cli,
|
---|
619 | TALLOC_CTX *mem_ctx,
|
---|
620 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
621 | const char *name1 /* [in] [charset(UTF16)] */,
|
---|
622 | const char *name2 /* [in] [charset(UTF16)] */,
|
---|
623 | uint32_t name_type /* [in] */,
|
---|
624 | uint32_t flags /* [in] */,
|
---|
625 | WERROR *werror);
|
---|
626 | struct tevent_req *rpccli_srvsvc_NetShareEnum_send(TALLOC_CTX *mem_ctx,
|
---|
627 | struct tevent_context *ev,
|
---|
628 | struct rpc_pipe_client *cli,
|
---|
629 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
630 | struct srvsvc_NetShareInfoCtr *_info_ctr /* [in,out] [ref] */,
|
---|
631 | uint32_t _max_buffer /* [in] */,
|
---|
632 | uint32_t *_totalentries /* [out] [ref] */,
|
---|
633 | uint32_t *_resume_handle /* [in,out] [unique] */);
|
---|
634 | NTSTATUS rpccli_srvsvc_NetShareEnum_recv(struct tevent_req *req,
|
---|
635 | TALLOC_CTX *mem_ctx,
|
---|
636 | WERROR *result);
|
---|
637 | NTSTATUS rpccli_srvsvc_NetShareEnum(struct rpc_pipe_client *cli,
|
---|
638 | TALLOC_CTX *mem_ctx,
|
---|
639 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
640 | struct srvsvc_NetShareInfoCtr *info_ctr /* [in,out] [ref] */,
|
---|
641 | uint32_t max_buffer /* [in] */,
|
---|
642 | uint32_t *totalentries /* [out] [ref] */,
|
---|
643 | uint32_t *resume_handle /* [in,out] [unique] */,
|
---|
644 | WERROR *werror);
|
---|
645 | struct tevent_req *rpccli_srvsvc_NetShareDelStart_send(TALLOC_CTX *mem_ctx,
|
---|
646 | struct tevent_context *ev,
|
---|
647 | struct rpc_pipe_client *cli,
|
---|
648 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
649 | const char *_share /* [in] [charset(UTF16)] */,
|
---|
650 | uint32_t _reserved /* [in] */,
|
---|
651 | struct policy_handle *_hnd /* [out] [unique] */);
|
---|
652 | NTSTATUS rpccli_srvsvc_NetShareDelStart_recv(struct tevent_req *req,
|
---|
653 | TALLOC_CTX *mem_ctx,
|
---|
654 | WERROR *result);
|
---|
655 | NTSTATUS rpccli_srvsvc_NetShareDelStart(struct rpc_pipe_client *cli,
|
---|
656 | TALLOC_CTX *mem_ctx,
|
---|
657 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
658 | const char *share /* [in] [charset(UTF16)] */,
|
---|
659 | uint32_t reserved /* [in] */,
|
---|
660 | struct policy_handle *hnd /* [out] [unique] */,
|
---|
661 | WERROR *werror);
|
---|
662 | struct tevent_req *rpccli_srvsvc_NetShareDelCommit_send(TALLOC_CTX *mem_ctx,
|
---|
663 | struct tevent_context *ev,
|
---|
664 | struct rpc_pipe_client *cli,
|
---|
665 | struct policy_handle *_hnd /* [in,out] [unique] */);
|
---|
666 | NTSTATUS rpccli_srvsvc_NetShareDelCommit_recv(struct tevent_req *req,
|
---|
667 | TALLOC_CTX *mem_ctx,
|
---|
668 | WERROR *result);
|
---|
669 | NTSTATUS rpccli_srvsvc_NetShareDelCommit(struct rpc_pipe_client *cli,
|
---|
670 | TALLOC_CTX *mem_ctx,
|
---|
671 | struct policy_handle *hnd /* [in,out] [unique] */,
|
---|
672 | WERROR *werror);
|
---|
673 | struct tevent_req *rpccli_srvsvc_NetGetFileSecurity_send(TALLOC_CTX *mem_ctx,
|
---|
674 | struct tevent_context *ev,
|
---|
675 | struct rpc_pipe_client *cli,
|
---|
676 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
677 | const char *_share /* [in] [unique,charset(UTF16)] */,
|
---|
678 | const char *_file /* [in] [charset(UTF16)] */,
|
---|
679 | uint32_t _securityinformation /* [in] */,
|
---|
680 | struct sec_desc_buf **_sd_buf /* [out] [ref] */);
|
---|
681 | NTSTATUS rpccli_srvsvc_NetGetFileSecurity_recv(struct tevent_req *req,
|
---|
682 | TALLOC_CTX *mem_ctx,
|
---|
683 | WERROR *result);
|
---|
684 | NTSTATUS rpccli_srvsvc_NetGetFileSecurity(struct rpc_pipe_client *cli,
|
---|
685 | TALLOC_CTX *mem_ctx,
|
---|
686 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
687 | const char *share /* [in] [unique,charset(UTF16)] */,
|
---|
688 | const char *file /* [in] [charset(UTF16)] */,
|
---|
689 | uint32_t securityinformation /* [in] */,
|
---|
690 | struct sec_desc_buf **sd_buf /* [out] [ref] */,
|
---|
691 | WERROR *werror);
|
---|
692 | struct tevent_req *rpccli_srvsvc_NetSetFileSecurity_send(TALLOC_CTX *mem_ctx,
|
---|
693 | struct tevent_context *ev,
|
---|
694 | struct rpc_pipe_client *cli,
|
---|
695 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
696 | const char *_share /* [in] [unique,charset(UTF16)] */,
|
---|
697 | const char *_file /* [in] [charset(UTF16)] */,
|
---|
698 | uint32_t _securityinformation /* [in] */,
|
---|
699 | struct sec_desc_buf *_sd_buf /* [in] [ref] */);
|
---|
700 | NTSTATUS rpccli_srvsvc_NetSetFileSecurity_recv(struct tevent_req *req,
|
---|
701 | TALLOC_CTX *mem_ctx,
|
---|
702 | WERROR *result);
|
---|
703 | NTSTATUS rpccli_srvsvc_NetSetFileSecurity(struct rpc_pipe_client *cli,
|
---|
704 | TALLOC_CTX *mem_ctx,
|
---|
705 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
706 | const char *share /* [in] [unique,charset(UTF16)] */,
|
---|
707 | const char *file /* [in] [charset(UTF16)] */,
|
---|
708 | uint32_t securityinformation /* [in] */,
|
---|
709 | struct sec_desc_buf *sd_buf /* [in] [ref] */,
|
---|
710 | WERROR *werror);
|
---|
711 | struct tevent_req *rpccli_srvsvc_NetServerTransportAddEx_send(TALLOC_CTX *mem_ctx,
|
---|
712 | struct tevent_context *ev,
|
---|
713 | struct rpc_pipe_client *cli,
|
---|
714 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
715 | uint32_t _level /* [in] */,
|
---|
716 | union srvsvc_NetTransportInfo _info /* [in] [switch_is(level)] */);
|
---|
717 | NTSTATUS rpccli_srvsvc_NetServerTransportAddEx_recv(struct tevent_req *req,
|
---|
718 | TALLOC_CTX *mem_ctx,
|
---|
719 | WERROR *result);
|
---|
720 | NTSTATUS rpccli_srvsvc_NetServerTransportAddEx(struct rpc_pipe_client *cli,
|
---|
721 | TALLOC_CTX *mem_ctx,
|
---|
722 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
723 | uint32_t level /* [in] */,
|
---|
724 | union srvsvc_NetTransportInfo info /* [in] [switch_is(level)] */,
|
---|
725 | WERROR *werror);
|
---|
726 | struct tevent_req *rpccli_srvsvc_NetServerSetServiceBitsEx_send(TALLOC_CTX *mem_ctx,
|
---|
727 | struct tevent_context *ev,
|
---|
728 | struct rpc_pipe_client *cli,
|
---|
729 | const char *_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
730 | const char *_emulated_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
731 | const char *_transport /* [in] [unique,charset(UTF16)] */,
|
---|
732 | uint32_t _servicebitsofinterest /* [in] */,
|
---|
733 | uint32_t _servicebits /* [in] */,
|
---|
734 | uint32_t _updateimmediately /* [in] */);
|
---|
735 | NTSTATUS rpccli_srvsvc_NetServerSetServiceBitsEx_recv(struct tevent_req *req,
|
---|
736 | TALLOC_CTX *mem_ctx,
|
---|
737 | WERROR *result);
|
---|
738 | NTSTATUS rpccli_srvsvc_NetServerSetServiceBitsEx(struct rpc_pipe_client *cli,
|
---|
739 | TALLOC_CTX *mem_ctx,
|
---|
740 | const char *server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
741 | const char *emulated_server_unc /* [in] [unique,charset(UTF16)] */,
|
---|
742 | const char *transport /* [in] [unique,charset(UTF16)] */,
|
---|
743 | uint32_t servicebitsofinterest /* [in] */,
|
---|
744 | uint32_t servicebits /* [in] */,
|
---|
745 | uint32_t updateimmediately /* [in] */,
|
---|
746 | WERROR *werror);
|
---|
747 | struct tevent_req *rpccli_srvsvc_NETRDFSGETVERSION_send(TALLOC_CTX *mem_ctx,
|
---|
748 | struct tevent_context *ev,
|
---|
749 | struct rpc_pipe_client *cli);
|
---|
750 | NTSTATUS rpccli_srvsvc_NETRDFSGETVERSION_recv(struct tevent_req *req,
|
---|
751 | TALLOC_CTX *mem_ctx,
|
---|
752 | WERROR *result);
|
---|
753 | NTSTATUS rpccli_srvsvc_NETRDFSGETVERSION(struct rpc_pipe_client *cli,
|
---|
754 | TALLOC_CTX *mem_ctx,
|
---|
755 | WERROR *werror);
|
---|
756 | struct tevent_req *rpccli_srvsvc_NETRDFSCREATELOCALPARTITION_send(TALLOC_CTX *mem_ctx,
|
---|
757 | struct tevent_context *ev,
|
---|
758 | struct rpc_pipe_client *cli);
|
---|
759 | NTSTATUS rpccli_srvsvc_NETRDFSCREATELOCALPARTITION_recv(struct tevent_req *req,
|
---|
760 | TALLOC_CTX *mem_ctx,
|
---|
761 | WERROR *result);
|
---|
762 | NTSTATUS rpccli_srvsvc_NETRDFSCREATELOCALPARTITION(struct rpc_pipe_client *cli,
|
---|
763 | TALLOC_CTX *mem_ctx,
|
---|
764 | WERROR *werror);
|
---|
765 | struct tevent_req *rpccli_srvsvc_NETRDFSDELETELOCALPARTITION_send(TALLOC_CTX *mem_ctx,
|
---|
766 | struct tevent_context *ev,
|
---|
767 | struct rpc_pipe_client *cli);
|
---|
768 | NTSTATUS rpccli_srvsvc_NETRDFSDELETELOCALPARTITION_recv(struct tevent_req *req,
|
---|
769 | TALLOC_CTX *mem_ctx,
|
---|
770 | WERROR *result);
|
---|
771 | NTSTATUS rpccli_srvsvc_NETRDFSDELETELOCALPARTITION(struct rpc_pipe_client *cli,
|
---|
772 | TALLOC_CTX *mem_ctx,
|
---|
773 | WERROR *werror);
|
---|
774 | struct tevent_req *rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE_send(TALLOC_CTX *mem_ctx,
|
---|
775 | struct tevent_context *ev,
|
---|
776 | struct rpc_pipe_client *cli);
|
---|
777 | NTSTATUS rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE_recv(struct tevent_req *req,
|
---|
778 | TALLOC_CTX *mem_ctx,
|
---|
779 | WERROR *result);
|
---|
780 | NTSTATUS rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE(struct rpc_pipe_client *cli,
|
---|
781 | TALLOC_CTX *mem_ctx,
|
---|
782 | WERROR *werror);
|
---|
783 | struct tevent_req *rpccli_srvsvc_NETRDFSSETSERVERINFO_send(TALLOC_CTX *mem_ctx,
|
---|
784 | struct tevent_context *ev,
|
---|
785 | struct rpc_pipe_client *cli);
|
---|
786 | NTSTATUS rpccli_srvsvc_NETRDFSSETSERVERINFO_recv(struct tevent_req *req,
|
---|
787 | TALLOC_CTX *mem_ctx,
|
---|
788 | WERROR *result);
|
---|
789 | NTSTATUS rpccli_srvsvc_NETRDFSSETSERVERINFO(struct rpc_pipe_client *cli,
|
---|
790 | TALLOC_CTX *mem_ctx,
|
---|
791 | WERROR *werror);
|
---|
792 | struct tevent_req *rpccli_srvsvc_NETRDFSCREATEEXITPOINT_send(TALLOC_CTX *mem_ctx,
|
---|
793 | struct tevent_context *ev,
|
---|
794 | struct rpc_pipe_client *cli);
|
---|
795 | NTSTATUS rpccli_srvsvc_NETRDFSCREATEEXITPOINT_recv(struct tevent_req *req,
|
---|
796 | TALLOC_CTX *mem_ctx,
|
---|
797 | WERROR *result);
|
---|
798 | NTSTATUS rpccli_srvsvc_NETRDFSCREATEEXITPOINT(struct rpc_pipe_client *cli,
|
---|
799 | TALLOC_CTX *mem_ctx,
|
---|
800 | WERROR *werror);
|
---|
801 | struct tevent_req *rpccli_srvsvc_NETRDFSDELETEEXITPOINT_send(TALLOC_CTX *mem_ctx,
|
---|
802 | struct tevent_context *ev,
|
---|
803 | struct rpc_pipe_client *cli);
|
---|
804 | NTSTATUS rpccli_srvsvc_NETRDFSDELETEEXITPOINT_recv(struct tevent_req *req,
|
---|
805 | TALLOC_CTX *mem_ctx,
|
---|
806 | WERROR *result);
|
---|
807 | NTSTATUS rpccli_srvsvc_NETRDFSDELETEEXITPOINT(struct rpc_pipe_client *cli,
|
---|
808 | TALLOC_CTX *mem_ctx,
|
---|
809 | WERROR *werror);
|
---|
810 | struct tevent_req *rpccli_srvsvc_NETRDFSMODIFYPREFIX_send(TALLOC_CTX *mem_ctx,
|
---|
811 | struct tevent_context *ev,
|
---|
812 | struct rpc_pipe_client *cli);
|
---|
813 | NTSTATUS rpccli_srvsvc_NETRDFSMODIFYPREFIX_recv(struct tevent_req *req,
|
---|
814 | TALLOC_CTX *mem_ctx,
|
---|
815 | WERROR *result);
|
---|
816 | NTSTATUS rpccli_srvsvc_NETRDFSMODIFYPREFIX(struct rpc_pipe_client *cli,
|
---|
817 | TALLOC_CTX *mem_ctx,
|
---|
818 | WERROR *werror);
|
---|
819 | struct tevent_req *rpccli_srvsvc_NETRDFSFIXLOCALVOLUME_send(TALLOC_CTX *mem_ctx,
|
---|
820 | struct tevent_context *ev,
|
---|
821 | struct rpc_pipe_client *cli);
|
---|
822 | NTSTATUS rpccli_srvsvc_NETRDFSFIXLOCALVOLUME_recv(struct tevent_req *req,
|
---|
823 | TALLOC_CTX *mem_ctx,
|
---|
824 | WERROR *result);
|
---|
825 | NTSTATUS rpccli_srvsvc_NETRDFSFIXLOCALVOLUME(struct rpc_pipe_client *cli,
|
---|
826 | TALLOC_CTX *mem_ctx,
|
---|
827 | WERROR *werror);
|
---|
828 | struct tevent_req *rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO_send(TALLOC_CTX *mem_ctx,
|
---|
829 | struct tevent_context *ev,
|
---|
830 | struct rpc_pipe_client *cli);
|
---|
831 | NTSTATUS rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO_recv(struct tevent_req *req,
|
---|
832 | TALLOC_CTX *mem_ctx,
|
---|
833 | WERROR *result);
|
---|
834 | NTSTATUS rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO(struct rpc_pipe_client *cli,
|
---|
835 | TALLOC_CTX *mem_ctx,
|
---|
836 | WERROR *werror);
|
---|
837 | struct tevent_req *rpccli_srvsvc_NETRSERVERTRANSPORTDELEX_send(TALLOC_CTX *mem_ctx,
|
---|
838 | struct tevent_context *ev,
|
---|
839 | struct rpc_pipe_client *cli);
|
---|
840 | NTSTATUS rpccli_srvsvc_NETRSERVERTRANSPORTDELEX_recv(struct tevent_req *req,
|
---|
841 | TALLOC_CTX *mem_ctx,
|
---|
842 | WERROR *result);
|
---|
843 | NTSTATUS rpccli_srvsvc_NETRSERVERTRANSPORTDELEX(struct rpc_pipe_client *cli,
|
---|
844 | TALLOC_CTX *mem_ctx,
|
---|
845 | WERROR *werror);
|
---|
846 | #endif /* __CLI_SRVSVC__ */
|
---|