Re-run make idl.
[Samba/gebeck_regimport.git] / source / librpc / gen_ndr / cli_srvsvc.h
blobd4acc925550a598c5856c99786c41270fed46d26
1 #include "librpc/gen_ndr/ndr_srvsvc.h"
2 #ifndef __CLI_SRVSVC__
3 #define __CLI_SRVSVC__
4 NTSTATUS rpccli_srvsvc_NetCharDevEnum(struct rpc_pipe_client *cli,
5 TALLOC_CTX *mem_ctx,
6 const char *server_unc,
7 uint32_t *level,
8 union srvsvc_NetCharDevCtr *ctr,
9 uint32_t max_buffer,
10 uint32_t *totalentries,
11 uint32_t *resume_handle,
12 WERROR *werror);
13 NTSTATUS rpccli_srvsvc_NetCharDevGetInfo(struct rpc_pipe_client *cli,
14 TALLOC_CTX *mem_ctx,
15 const char *server_unc,
16 const char *device_name,
17 uint32_t level,
18 union srvsvc_NetCharDevInfo *info,
19 WERROR *werror);
20 NTSTATUS rpccli_srvsvc_NetCharDevControl(struct rpc_pipe_client *cli,
21 TALLOC_CTX *mem_ctx,
22 const char *server_unc,
23 const char *device_name,
24 uint32_t opcode,
25 WERROR *werror);
26 NTSTATUS rpccli_srvsvc_NetCharDevQEnum(struct rpc_pipe_client *cli,
27 TALLOC_CTX *mem_ctx,
28 const char *server_unc,
29 const char *user,
30 uint32_t *level,
31 union srvsvc_NetCharDevQCtr *ctr,
32 uint32_t max_buffer,
33 uint32_t *totalentries,
34 uint32_t *resume_handle,
35 WERROR *werror);
36 NTSTATUS rpccli_srvsvc_NetCharDevQGetInfo(struct rpc_pipe_client *cli,
37 TALLOC_CTX *mem_ctx,
38 const char *server_unc,
39 const char *queue_name,
40 const char *user,
41 uint32_t level,
42 union srvsvc_NetCharDevQInfo *info,
43 WERROR *werror);
44 NTSTATUS rpccli_srvsvc_NetCharDevQSetInfo(struct rpc_pipe_client *cli,
45 TALLOC_CTX *mem_ctx,
46 const char *server_unc,
47 const char *queue_name,
48 uint32_t level,
49 union srvsvc_NetCharDevQInfo info,
50 uint32_t *parm_error,
51 WERROR *werror);
52 NTSTATUS rpccli_srvsvc_NetCharDevQPurge(struct rpc_pipe_client *cli,
53 TALLOC_CTX *mem_ctx,
54 const char *server_unc,
55 const char *queue_name,
56 WERROR *werror);
57 NTSTATUS rpccli_srvsvc_NetCharDevQPurgeSelf(struct rpc_pipe_client *cli,
58 TALLOC_CTX *mem_ctx,
59 const char *server_unc,
60 const char *queue_name,
61 const char *computer_name,
62 WERROR *werror);
63 NTSTATUS rpccli_srvsvc_NetConnEnum(struct rpc_pipe_client *cli,
64 TALLOC_CTX *mem_ctx,
65 const char *server_unc,
66 const char *path,
67 uint32_t *level,
68 union srvsvc_NetConnCtr *ctr,
69 uint32_t max_buffer,
70 uint32_t *totalentries,
71 uint32_t *resume_handle,
72 WERROR *werror);
73 NTSTATUS rpccli_srvsvc_NetFileEnum(struct rpc_pipe_client *cli,
74 TALLOC_CTX *mem_ctx,
75 const char *server_unc,
76 const char *path,
77 const char *user,
78 uint32_t *level,
79 union srvsvc_NetFileCtr *ctr,
80 uint32_t max_buffer,
81 uint32_t *totalentries,
82 uint32_t *resume_handle,
83 WERROR *werror);
84 NTSTATUS rpccli_srvsvc_NetFileGetInfo(struct rpc_pipe_client *cli,
85 TALLOC_CTX *mem_ctx,
86 const char *server_unc,
87 uint32_t fid,
88 uint32_t level,
89 union srvsvc_NetFileInfo *info,
90 WERROR *werror);
91 NTSTATUS rpccli_srvsvc_NetFileClose(struct rpc_pipe_client *cli,
92 TALLOC_CTX *mem_ctx,
93 const char *server_unc,
94 uint32_t fid,
95 WERROR *werror);
96 NTSTATUS rpccli_srvsvc_NetSessEnum(struct rpc_pipe_client *cli,
97 TALLOC_CTX *mem_ctx,
98 const char *server_unc,
99 const char *client,
100 const char *user,
101 uint32_t *level,
102 union srvsvc_NetSessCtr *ctr,
103 uint32_t max_buffer,
104 uint32_t *totalentries,
105 uint32_t *resume_handle,
106 WERROR *werror);
107 NTSTATUS rpccli_srvsvc_NetSessDel(struct rpc_pipe_client *cli,
108 TALLOC_CTX *mem_ctx,
109 const char *server_unc,
110 const char *client,
111 const char *user,
112 WERROR *werror);
113 NTSTATUS rpccli_srvsvc_NetShareAdd(struct rpc_pipe_client *cli,
114 TALLOC_CTX *mem_ctx,
115 const char *server_unc,
116 uint32_t level,
117 union srvsvc_NetShareInfo *info,
118 uint32_t *parm_error,
119 WERROR *werror);
120 NTSTATUS rpccli_srvsvc_NetShareEnumAll(struct rpc_pipe_client *cli,
121 TALLOC_CTX *mem_ctx,
122 const char *server_unc,
123 struct srvsvc_NetShareInfoCtr *info_ctr,
124 uint32_t max_buffer,
125 uint32_t *totalentries,
126 uint32_t *resume_handle,
127 WERROR *werror);
128 NTSTATUS rpccli_srvsvc_NetShareGetInfo(struct rpc_pipe_client *cli,
129 TALLOC_CTX *mem_ctx,
130 const char *server_unc,
131 const char *share_name,
132 uint32_t level,
133 union srvsvc_NetShareInfo *info,
134 WERROR *werror);
135 NTSTATUS rpccli_srvsvc_NetShareSetInfo(struct rpc_pipe_client *cli,
136 TALLOC_CTX *mem_ctx,
137 const char *server_unc,
138 const char *share_name,
139 uint32_t level,
140 union srvsvc_NetShareInfo *info,
141 uint32_t *parm_error,
142 WERROR *werror);
143 NTSTATUS rpccli_srvsvc_NetShareDel(struct rpc_pipe_client *cli,
144 TALLOC_CTX *mem_ctx,
145 const char *server_unc,
146 const char *share_name,
147 uint32_t reserved,
148 WERROR *werror);
149 NTSTATUS rpccli_srvsvc_NetShareDelSticky(struct rpc_pipe_client *cli,
150 TALLOC_CTX *mem_ctx,
151 const char *server_unc,
152 const char *share_name,
153 uint32_t reserved,
154 WERROR *werror);
155 NTSTATUS rpccli_srvsvc_NetShareCheck(struct rpc_pipe_client *cli,
156 TALLOC_CTX *mem_ctx,
157 const char *server_unc,
158 const char *device_name,
159 enum srvsvc_ShareType *type,
160 WERROR *werror);
161 NTSTATUS rpccli_srvsvc_NetSrvGetInfo(struct rpc_pipe_client *cli,
162 TALLOC_CTX *mem_ctx,
163 const char *server_unc,
164 uint32_t level,
165 union srvsvc_NetSrvInfo *info,
166 WERROR *werror);
167 NTSTATUS rpccli_srvsvc_NetSrvSetInfo(struct rpc_pipe_client *cli,
168 TALLOC_CTX *mem_ctx,
169 const char *server_unc,
170 uint32_t level,
171 union srvsvc_NetSrvInfo *info,
172 uint32_t *parm_error,
173 WERROR *werror);
174 NTSTATUS rpccli_srvsvc_NetDiskEnum(struct rpc_pipe_client *cli,
175 TALLOC_CTX *mem_ctx,
176 const char *server_unc,
177 uint32_t level,
178 struct srvsvc_NetDiskInfo *info,
179 uint32_t maxlen,
180 uint32_t *totalentries,
181 uint32_t *resume_handle,
182 WERROR *werror);
183 NTSTATUS rpccli_srvsvc_NetServerStatisticsGet(struct rpc_pipe_client *cli,
184 TALLOC_CTX *mem_ctx,
185 const char *server_unc,
186 const char *service,
187 uint32_t level,
188 uint32_t options,
189 struct srvsvc_Statistics *stats,
190 WERROR *werror);
191 NTSTATUS rpccli_srvsvc_NetTransportAdd(struct rpc_pipe_client *cli,
192 TALLOC_CTX *mem_ctx,
193 const char *server_unc,
194 uint32_t level,
195 union srvsvc_NetTransportInfo info,
196 WERROR *werror);
197 NTSTATUS rpccli_srvsvc_NetTransportEnum(struct rpc_pipe_client *cli,
198 TALLOC_CTX *mem_ctx,
199 const char *server_unc,
200 uint32_t *level,
201 union srvsvc_NetTransportCtr *transports,
202 uint32_t max_buffer,
203 uint32_t *totalentries,
204 uint32_t *resume_handle,
205 WERROR *werror);
206 NTSTATUS rpccli_srvsvc_NetTransportDel(struct rpc_pipe_client *cli,
207 TALLOC_CTX *mem_ctx,
208 const char *server_unc,
209 uint32_t unknown,
210 struct srvsvc_NetTransportInfo0 transport,
211 WERROR *werror);
212 NTSTATUS rpccli_srvsvc_NetRemoteTOD(struct rpc_pipe_client *cli,
213 TALLOC_CTX *mem_ctx,
214 const char *server_unc,
215 struct srvsvc_NetRemoteTODInfo **info,
216 WERROR *werror);
217 NTSTATUS rpccli_srvsvc_NetSetServiceBits(struct rpc_pipe_client *cli,
218 TALLOC_CTX *mem_ctx,
219 const char *server_unc,
220 const char *transport,
221 uint32_t servicebits,
222 uint32_t updateimmediately,
223 WERROR *werror);
224 NTSTATUS rpccli_srvsvc_NetPathType(struct rpc_pipe_client *cli,
225 TALLOC_CTX *mem_ctx,
226 const char *server_unc,
227 const char *path,
228 uint32_t pathflags,
229 uint32_t *pathtype,
230 WERROR *werror);
231 NTSTATUS rpccli_srvsvc_NetPathCanonicalize(struct rpc_pipe_client *cli,
232 TALLOC_CTX *mem_ctx,
233 const char *server_unc,
234 const char *path,
235 uint8_t *can_path,
236 uint32_t maxbuf,
237 const char *prefix,
238 uint32_t *pathtype,
239 uint32_t pathflags,
240 WERROR *werror);
241 NTSTATUS rpccli_srvsvc_NetPathCompare(struct rpc_pipe_client *cli,
242 TALLOC_CTX *mem_ctx,
243 const char *server_unc,
244 const char *path1,
245 const char *path2,
246 uint32_t pathtype,
247 uint32_t pathflags,
248 WERROR *werror);
249 NTSTATUS rpccli_srvsvc_NetNameValidate(struct rpc_pipe_client *cli,
250 TALLOC_CTX *mem_ctx,
251 const char *server_unc,
252 const char *name,
253 uint32_t name_type,
254 uint32_t flags,
255 WERROR *werror);
256 NTSTATUS rpccli_srvsvc_NETRPRNAMECANONICALIZE(struct rpc_pipe_client *cli,
257 TALLOC_CTX *mem_ctx,
258 WERROR *werror);
259 NTSTATUS rpccli_srvsvc_NetPRNameCompare(struct rpc_pipe_client *cli,
260 TALLOC_CTX *mem_ctx,
261 const char *server_unc,
262 const char *name1,
263 const char *name2,
264 uint32_t name_type,
265 uint32_t flags,
266 WERROR *werror);
267 NTSTATUS rpccli_srvsvc_NetShareEnum(struct rpc_pipe_client *cli,
268 TALLOC_CTX *mem_ctx,
269 const char *server_unc,
270 struct srvsvc_NetShareInfoCtr *info_ctr,
271 uint32_t max_buffer,
272 uint32_t *totalentries,
273 uint32_t *resume_handle,
274 WERROR *werror);
275 NTSTATUS rpccli_srvsvc_NetShareDelStart(struct rpc_pipe_client *cli,
276 TALLOC_CTX *mem_ctx,
277 const char *server_unc,
278 const char *share,
279 uint32_t reserved,
280 struct policy_handle *hnd,
281 WERROR *werror);
282 NTSTATUS rpccli_srvsvc_NetShareDelCommit(struct rpc_pipe_client *cli,
283 TALLOC_CTX *mem_ctx,
284 struct policy_handle *hnd,
285 WERROR *werror);
286 NTSTATUS rpccli_srvsvc_NetGetFileSecurity(struct rpc_pipe_client *cli,
287 TALLOC_CTX *mem_ctx,
288 const char *server_unc,
289 const char *share,
290 const char *file,
291 uint32_t securityinformation,
292 struct sec_desc_buf *sd_buf,
293 WERROR *werror);
294 NTSTATUS rpccli_srvsvc_NetSetFileSecurity(struct rpc_pipe_client *cli,
295 TALLOC_CTX *mem_ctx,
296 const char *server_unc,
297 const char *share,
298 const char *file,
299 uint32_t securityinformation,
300 struct sec_desc_buf sd_buf,
301 WERROR *werror);
302 NTSTATUS rpccli_srvsvc_NetServerTransportAddEx(struct rpc_pipe_client *cli,
303 TALLOC_CTX *mem_ctx,
304 const char *server_unc,
305 uint32_t level,
306 union srvsvc_NetTransportInfo info,
307 WERROR *werror);
308 NTSTATUS rpccli_srvsvc_NetServerSetServiceBitsEx(struct rpc_pipe_client *cli,
309 TALLOC_CTX *mem_ctx,
310 const char *server_unc,
311 const char *emulated_server_unc,
312 const char *transport,
313 uint32_t servicebitsofinterest,
314 uint32_t servicebits,
315 uint32_t updateimmediately,
316 WERROR *werror);
317 NTSTATUS rpccli_srvsvc_NETRDFSGETVERSION(struct rpc_pipe_client *cli,
318 TALLOC_CTX *mem_ctx,
319 WERROR *werror);
320 NTSTATUS rpccli_srvsvc_NETRDFSCREATELOCALPARTITION(struct rpc_pipe_client *cli,
321 TALLOC_CTX *mem_ctx,
322 WERROR *werror);
323 NTSTATUS rpccli_srvsvc_NETRDFSDELETELOCALPARTITION(struct rpc_pipe_client *cli,
324 TALLOC_CTX *mem_ctx,
325 WERROR *werror);
326 NTSTATUS rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE(struct rpc_pipe_client *cli,
327 TALLOC_CTX *mem_ctx,
328 WERROR *werror);
329 NTSTATUS rpccli_srvsvc_NETRDFSSETSERVERINFO(struct rpc_pipe_client *cli,
330 TALLOC_CTX *mem_ctx,
331 WERROR *werror);
332 NTSTATUS rpccli_srvsvc_NETRDFSCREATEEXITPOINT(struct rpc_pipe_client *cli,
333 TALLOC_CTX *mem_ctx,
334 WERROR *werror);
335 NTSTATUS rpccli_srvsvc_NETRDFSDELETEEXITPOINT(struct rpc_pipe_client *cli,
336 TALLOC_CTX *mem_ctx,
337 WERROR *werror);
338 NTSTATUS rpccli_srvsvc_NETRDFSMODIFYPREFIX(struct rpc_pipe_client *cli,
339 TALLOC_CTX *mem_ctx,
340 WERROR *werror);
341 NTSTATUS rpccli_srvsvc_NETRDFSFIXLOCALVOLUME(struct rpc_pipe_client *cli,
342 TALLOC_CTX *mem_ctx,
343 WERROR *werror);
344 NTSTATUS rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO(struct rpc_pipe_client *cli,
345 TALLOC_CTX *mem_ctx,
346 WERROR *werror);
347 NTSTATUS rpccli_srvsvc_NETRSERVERTRANSPORTDELEX(struct rpc_pipe_client *cli,
348 TALLOC_CTX *mem_ctx,
349 WERROR *werror);
350 #endif /* __CLI_SRVSVC__ */