1 #include "librpc/gen_ndr/ndr_srvsvc.h"
4 NTSTATUS
rpccli_srvsvc_NetCharDevEnum(struct rpc_pipe_client
*cli
,
6 const char *server_unc
,
8 union srvsvc_NetCharDevCtr
*ctr
,
10 uint32_t *totalentries
,
11 uint32_t *resume_handle
,
13 NTSTATUS
rpccli_srvsvc_NetCharDevGetInfo(struct rpc_pipe_client
*cli
,
15 const char *server_unc
,
16 const char *device_name
,
18 union srvsvc_NetCharDevInfo
*info
,
20 NTSTATUS
rpccli_srvsvc_NetCharDevControl(struct rpc_pipe_client
*cli
,
22 const char *server_unc
,
23 const char *device_name
,
26 NTSTATUS
rpccli_srvsvc_NetCharDevQEnum(struct rpc_pipe_client
*cli
,
28 const char *server_unc
,
31 union srvsvc_NetCharDevQCtr
*ctr
,
33 uint32_t *totalentries
,
34 uint32_t *resume_handle
,
36 NTSTATUS
rpccli_srvsvc_NetCharDevQGetInfo(struct rpc_pipe_client
*cli
,
38 const char *server_unc
,
39 const char *queue_name
,
42 union srvsvc_NetCharDevQInfo
*info
,
44 NTSTATUS
rpccli_srvsvc_NetCharDevQSetInfo(struct rpc_pipe_client
*cli
,
46 const char *server_unc
,
47 const char *queue_name
,
49 union srvsvc_NetCharDevQInfo info
,
52 NTSTATUS
rpccli_srvsvc_NetCharDevQPurge(struct rpc_pipe_client
*cli
,
54 const char *server_unc
,
55 const char *queue_name
,
57 NTSTATUS
rpccli_srvsvc_NetCharDevQPurgeSelf(struct rpc_pipe_client
*cli
,
59 const char *server_unc
,
60 const char *queue_name
,
61 const char *computer_name
,
63 NTSTATUS
rpccli_srvsvc_NetConnEnum(struct rpc_pipe_client
*cli
,
65 const char *server_unc
,
68 union srvsvc_NetConnCtr
*ctr
,
70 uint32_t *totalentries
,
71 uint32_t *resume_handle
,
73 NTSTATUS
rpccli_srvsvc_NetFileEnum(struct rpc_pipe_client
*cli
,
75 const char *server_unc
,
79 union srvsvc_NetFileCtr
*ctr
,
81 uint32_t *totalentries
,
82 uint32_t *resume_handle
,
84 NTSTATUS
rpccli_srvsvc_NetFileGetInfo(struct rpc_pipe_client
*cli
,
86 const char *server_unc
,
89 union srvsvc_NetFileInfo
*info
,
91 NTSTATUS
rpccli_srvsvc_NetFileClose(struct rpc_pipe_client
*cli
,
93 const char *server_unc
,
96 NTSTATUS
rpccli_srvsvc_NetSessEnum(struct rpc_pipe_client
*cli
,
98 const char *server_unc
,
102 union srvsvc_NetSessCtr
*ctr
,
104 uint32_t *totalentries
,
105 uint32_t *resume_handle
,
107 NTSTATUS
rpccli_srvsvc_NetSessDel(struct rpc_pipe_client
*cli
,
109 const char *server_unc
,
113 NTSTATUS
rpccli_srvsvc_NetShareAdd(struct rpc_pipe_client
*cli
,
115 const char *server_unc
,
117 union srvsvc_NetShareInfo
*info
,
118 uint32_t *parm_error
,
120 NTSTATUS
rpccli_srvsvc_NetShareEnumAll(struct rpc_pipe_client
*cli
,
122 const char *server_unc
,
123 struct srvsvc_NetShareInfoCtr
*info_ctr
,
125 uint32_t *totalentries
,
126 uint32_t *resume_handle
,
128 NTSTATUS
rpccli_srvsvc_NetShareGetInfo(struct rpc_pipe_client
*cli
,
130 const char *server_unc
,
131 const char *share_name
,
133 union srvsvc_NetShareInfo
*info
,
135 NTSTATUS
rpccli_srvsvc_NetShareSetInfo(struct rpc_pipe_client
*cli
,
137 const char *server_unc
,
138 const char *share_name
,
140 union srvsvc_NetShareInfo
*info
,
141 uint32_t *parm_error
,
143 NTSTATUS
rpccli_srvsvc_NetShareDel(struct rpc_pipe_client
*cli
,
145 const char *server_unc
,
146 const char *share_name
,
149 NTSTATUS
rpccli_srvsvc_NetShareDelSticky(struct rpc_pipe_client
*cli
,
151 const char *server_unc
,
152 const char *share_name
,
155 NTSTATUS
rpccli_srvsvc_NetShareCheck(struct rpc_pipe_client
*cli
,
157 const char *server_unc
,
158 const char *device_name
,
159 enum srvsvc_ShareType
*type
,
161 NTSTATUS
rpccli_srvsvc_NetSrvGetInfo(struct rpc_pipe_client
*cli
,
163 const char *server_unc
,
165 union srvsvc_NetSrvInfo
*info
,
167 NTSTATUS
rpccli_srvsvc_NetSrvSetInfo(struct rpc_pipe_client
*cli
,
169 const char *server_unc
,
171 union srvsvc_NetSrvInfo
*info
,
172 uint32_t *parm_error
,
174 NTSTATUS
rpccli_srvsvc_NetDiskEnum(struct rpc_pipe_client
*cli
,
176 const char *server_unc
,
178 struct srvsvc_NetDiskInfo
*info
,
180 uint32_t *totalentries
,
181 uint32_t *resume_handle
,
183 NTSTATUS
rpccli_srvsvc_NetServerStatisticsGet(struct rpc_pipe_client
*cli
,
185 const char *server_unc
,
189 struct srvsvc_Statistics
*stats
,
191 NTSTATUS
rpccli_srvsvc_NetTransportAdd(struct rpc_pipe_client
*cli
,
193 const char *server_unc
,
195 union srvsvc_NetTransportInfo info
,
197 NTSTATUS
rpccli_srvsvc_NetTransportEnum(struct rpc_pipe_client
*cli
,
199 const char *server_unc
,
201 union srvsvc_NetTransportCtr
*transports
,
203 uint32_t *totalentries
,
204 uint32_t *resume_handle
,
206 NTSTATUS
rpccli_srvsvc_NetTransportDel(struct rpc_pipe_client
*cli
,
208 const char *server_unc
,
210 struct srvsvc_NetTransportInfo0 transport
,
212 NTSTATUS
rpccli_srvsvc_NetRemoteTOD(struct rpc_pipe_client
*cli
,
214 const char *server_unc
,
215 struct srvsvc_NetRemoteTODInfo
**info
,
217 NTSTATUS
rpccli_srvsvc_NetSetServiceBits(struct rpc_pipe_client
*cli
,
219 const char *server_unc
,
220 const char *transport
,
221 uint32_t servicebits
,
222 uint32_t updateimmediately
,
224 NTSTATUS
rpccli_srvsvc_NetPathType(struct rpc_pipe_client
*cli
,
226 const char *server_unc
,
231 NTSTATUS
rpccli_srvsvc_NetPathCanonicalize(struct rpc_pipe_client
*cli
,
233 const char *server_unc
,
241 NTSTATUS
rpccli_srvsvc_NetPathCompare(struct rpc_pipe_client
*cli
,
243 const char *server_unc
,
249 NTSTATUS
rpccli_srvsvc_NetNameValidate(struct rpc_pipe_client
*cli
,
251 const char *server_unc
,
256 NTSTATUS
rpccli_srvsvc_NETRPRNAMECANONICALIZE(struct rpc_pipe_client
*cli
,
259 NTSTATUS
rpccli_srvsvc_NetPRNameCompare(struct rpc_pipe_client
*cli
,
261 const char *server_unc
,
267 NTSTATUS
rpccli_srvsvc_NetShareEnum(struct rpc_pipe_client
*cli
,
269 const char *server_unc
,
270 struct srvsvc_NetShareInfoCtr
*info_ctr
,
272 uint32_t *totalentries
,
273 uint32_t *resume_handle
,
275 NTSTATUS
rpccli_srvsvc_NetShareDelStart(struct rpc_pipe_client
*cli
,
277 const char *server_unc
,
280 struct policy_handle
*hnd
,
282 NTSTATUS
rpccli_srvsvc_NetShareDelCommit(struct rpc_pipe_client
*cli
,
284 struct policy_handle
*hnd
,
286 NTSTATUS
rpccli_srvsvc_NetGetFileSecurity(struct rpc_pipe_client
*cli
,
288 const char *server_unc
,
291 uint32_t securityinformation
,
292 struct sec_desc_buf
*sd_buf
,
294 NTSTATUS
rpccli_srvsvc_NetSetFileSecurity(struct rpc_pipe_client
*cli
,
296 const char *server_unc
,
299 uint32_t securityinformation
,
300 struct sec_desc_buf sd_buf
,
302 NTSTATUS
rpccli_srvsvc_NetServerTransportAddEx(struct rpc_pipe_client
*cli
,
304 const char *server_unc
,
306 union srvsvc_NetTransportInfo info
,
308 NTSTATUS
rpccli_srvsvc_NetServerSetServiceBitsEx(struct rpc_pipe_client
*cli
,
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
,
317 NTSTATUS
rpccli_srvsvc_NETRDFSGETVERSION(struct rpc_pipe_client
*cli
,
320 NTSTATUS
rpccli_srvsvc_NETRDFSCREATELOCALPARTITION(struct rpc_pipe_client
*cli
,
323 NTSTATUS
rpccli_srvsvc_NETRDFSDELETELOCALPARTITION(struct rpc_pipe_client
*cli
,
326 NTSTATUS
rpccli_srvsvc_NETRDFSSETLOCALVOLUMESTATE(struct rpc_pipe_client
*cli
,
329 NTSTATUS
rpccli_srvsvc_NETRDFSSETSERVERINFO(struct rpc_pipe_client
*cli
,
332 NTSTATUS
rpccli_srvsvc_NETRDFSCREATEEXITPOINT(struct rpc_pipe_client
*cli
,
335 NTSTATUS
rpccli_srvsvc_NETRDFSDELETEEXITPOINT(struct rpc_pipe_client
*cli
,
338 NTSTATUS
rpccli_srvsvc_NETRDFSMODIFYPREFIX(struct rpc_pipe_client
*cli
,
341 NTSTATUS
rpccli_srvsvc_NETRDFSFIXLOCALVOLUME(struct rpc_pipe_client
*cli
,
344 NTSTATUS
rpccli_srvsvc_NETRDFSMANAGERREPORTSITEINFO(struct rpc_pipe_client
*cli
,
347 NTSTATUS
rpccli_srvsvc_NETRSERVERTRANSPORTDELEX(struct rpc_pipe_client
*cli
,
350 #endif /* __CLI_SRVSVC__ */