s3: re-run make samba3-idl.
[jra/samba/.git] / librpc / gen_ndr / cli_spoolss.h
1 #include "../librpc/gen_ndr/ndr_spoolss.h"
2 #ifndef __CLI_SPOOLSS__
3 #define __CLI_SPOOLSS__
4 NTSTATUS rpccli_spoolss_EnumPrinters(struct rpc_pipe_client *cli,
5                                      TALLOC_CTX *mem_ctx,
6                                      uint32_t flags /* [in]  */,
7                                      const char *server /* [in] [unique,charset(UTF16)] */,
8                                      uint32_t level /* [in]  */,
9                                      DATA_BLOB *buffer /* [in] [unique] */,
10                                      uint32_t offered /* [in]  */,
11                                      uint32_t *count /* [out] [ref] */,
12                                      union spoolss_PrinterInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
13                                      uint32_t *needed /* [out] [ref] */,
14                                      WERROR *werror);
15 NTSTATUS rpccli_spoolss_OpenPrinter(struct rpc_pipe_client *cli,
16                                     TALLOC_CTX *mem_ctx,
17                                     const char *printername /* [in] [unique,charset(UTF16)] */,
18                                     const char *datatype /* [in] [unique,charset(UTF16)] */,
19                                     struct spoolss_DevmodeContainer devmode_ctr /* [in]  */,
20                                     uint32_t access_mask /* [in]  */,
21                                     struct policy_handle *handle /* [out] [ref] */,
22                                     WERROR *werror);
23 NTSTATUS rpccli_spoolss_SetJob(struct rpc_pipe_client *cli,
24                                TALLOC_CTX *mem_ctx,
25                                struct policy_handle *handle /* [in] [ref] */,
26                                uint32_t job_id /* [in]  */,
27                                struct spoolss_JobInfoContainer *ctr /* [in] [unique] */,
28                                enum spoolss_JobControl command /* [in]  */,
29                                WERROR *werror);
30 NTSTATUS rpccli_spoolss_GetJob(struct rpc_pipe_client *cli,
31                                TALLOC_CTX *mem_ctx,
32                                struct policy_handle *handle /* [in] [ref] */,
33                                uint32_t job_id /* [in]  */,
34                                uint32_t level /* [in]  */,
35                                DATA_BLOB *buffer /* [in] [unique] */,
36                                uint32_t offered /* [in]  */,
37                                union spoolss_JobInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
38                                uint32_t *needed /* [out] [ref] */,
39                                WERROR *werror);
40 NTSTATUS rpccli_spoolss_EnumJobs(struct rpc_pipe_client *cli,
41                                  TALLOC_CTX *mem_ctx,
42                                  struct policy_handle *handle /* [in] [ref] */,
43                                  uint32_t firstjob /* [in]  */,
44                                  uint32_t numjobs /* [in]  */,
45                                  uint32_t level /* [in]  */,
46                                  DATA_BLOB *buffer /* [in] [unique] */,
47                                  uint32_t offered /* [in]  */,
48                                  uint32_t *count /* [out] [ref] */,
49                                  union spoolss_JobInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
50                                  uint32_t *needed /* [out] [ref] */,
51                                  WERROR *werror);
52 NTSTATUS rpccli_spoolss_AddPrinter(struct rpc_pipe_client *cli,
53                                    TALLOC_CTX *mem_ctx,
54                                    WERROR *werror);
55 NTSTATUS rpccli_spoolss_DeletePrinter(struct rpc_pipe_client *cli,
56                                       TALLOC_CTX *mem_ctx,
57                                       struct policy_handle *handle /* [in] [ref] */,
58                                       WERROR *werror);
59 NTSTATUS rpccli_spoolss_SetPrinter(struct rpc_pipe_client *cli,
60                                    TALLOC_CTX *mem_ctx,
61                                    struct policy_handle *handle /* [in] [ref] */,
62                                    struct spoolss_SetPrinterInfoCtr *info_ctr /* [in] [ref] */,
63                                    struct spoolss_DevmodeContainer *devmode_ctr /* [in] [ref] */,
64                                    struct sec_desc_buf *secdesc_ctr /* [in] [ref] */,
65                                    enum spoolss_PrinterControl command /* [in]  */,
66                                    WERROR *werror);
67 NTSTATUS rpccli_spoolss_GetPrinter(struct rpc_pipe_client *cli,
68                                    TALLOC_CTX *mem_ctx,
69                                    struct policy_handle *handle /* [in] [ref] */,
70                                    uint32_t level /* [in]  */,
71                                    DATA_BLOB *buffer /* [in] [unique] */,
72                                    uint32_t offered /* [in]  */,
73                                    union spoolss_PrinterInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
74                                    uint32_t *needed /* [out] [ref] */,
75                                    WERROR *werror);
76 NTSTATUS rpccli_spoolss_AddPrinterDriver(struct rpc_pipe_client *cli,
77                                          TALLOC_CTX *mem_ctx,
78                                          const char *servername /* [in] [ref,charset(UTF16)] */,
79                                          uint32_t level /* [in]  */,
80                                          union spoolss_AddDriverInfo info /* [in] [switch_is(level)] */,
81                                          WERROR *werror);
82 NTSTATUS rpccli_spoolss_EnumPrinterDrivers(struct rpc_pipe_client *cli,
83                                            TALLOC_CTX *mem_ctx,
84                                            const char *server /* [in] [unique,charset(UTF16)] */,
85                                            const char *environment /* [in] [unique,charset(UTF16)] */,
86                                            uint32_t level /* [in]  */,
87                                            DATA_BLOB *buffer /* [in] [unique] */,
88                                            uint32_t offered /* [in]  */,
89                                            uint32_t *count /* [out] [ref] */,
90                                            union spoolss_DriverInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
91                                            uint32_t *needed /* [out] [ref] */,
92                                            WERROR *werror);
93 NTSTATUS rpccli_spoolss_GetPrinterDriver(struct rpc_pipe_client *cli,
94                                          TALLOC_CTX *mem_ctx,
95                                          WERROR *werror);
96 NTSTATUS rpccli_spoolss_GetPrinterDriverDirectory(struct rpc_pipe_client *cli,
97                                                   TALLOC_CTX *mem_ctx,
98                                                   const char *server /* [in] [unique,charset(UTF16)] */,
99                                                   const char *environment /* [in] [unique,charset(UTF16)] */,
100                                                   uint32_t level /* [in]  */,
101                                                   DATA_BLOB *buffer /* [in] [unique] */,
102                                                   uint32_t offered /* [in]  */,
103                                                   union spoolss_DriverDirectoryInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
104                                                   uint32_t *needed /* [out] [ref] */,
105                                                   WERROR *werror);
106 NTSTATUS rpccli_spoolss_DeletePrinterDriver(struct rpc_pipe_client *cli,
107                                             TALLOC_CTX *mem_ctx,
108                                             const char *server /* [in] [unique,charset(UTF16)] */,
109                                             const char *architecture /* [in] [charset(UTF16)] */,
110                                             const char *driver /* [in] [charset(UTF16)] */,
111                                             WERROR *werror);
112 NTSTATUS rpccli_spoolss_AddPrintProcessor(struct rpc_pipe_client *cli,
113                                           TALLOC_CTX *mem_ctx,
114                                           const char *server /* [in] [unique,charset(UTF16)] */,
115                                           const char *architecture /* [in] [charset(UTF16)] */,
116                                           const char *path_name /* [in] [charset(UTF16)] */,
117                                           const char *print_processor_name /* [in] [charset(UTF16)] */,
118                                           WERROR *werror);
119 NTSTATUS rpccli_spoolss_EnumPrintProcessors(struct rpc_pipe_client *cli,
120                                             TALLOC_CTX *mem_ctx,
121                                             const char *servername /* [in] [unique,charset(UTF16)] */,
122                                             const char *environment /* [in] [unique,charset(UTF16)] */,
123                                             uint32_t level /* [in]  */,
124                                             DATA_BLOB *buffer /* [in] [unique] */,
125                                             uint32_t offered /* [in]  */,
126                                             uint32_t *count /* [out] [ref] */,
127                                             union spoolss_PrintProcessorInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
128                                             uint32_t *needed /* [out] [ref] */,
129                                             WERROR *werror);
130 NTSTATUS rpccli_spoolss_GetPrintProcessorDirectory(struct rpc_pipe_client *cli,
131                                                    TALLOC_CTX *mem_ctx,
132                                                    WERROR *werror);
133 NTSTATUS rpccli_spoolss_StartDocPrinter(struct rpc_pipe_client *cli,
134                                         TALLOC_CTX *mem_ctx,
135                                         struct policy_handle *handle /* [in] [ref] */,
136                                         uint32_t level /* [in]  */,
137                                         union spoolss_DocumentInfo info /* [in] [switch_is(level)] */,
138                                         uint32_t *job_id /* [out] [ref] */,
139                                         WERROR *werror);
140 NTSTATUS rpccli_spoolss_StartPagePrinter(struct rpc_pipe_client *cli,
141                                          TALLOC_CTX *mem_ctx,
142                                          struct policy_handle *handle /* [in] [ref] */,
143                                          WERROR *werror);
144 NTSTATUS rpccli_spoolss_WritePrinter(struct rpc_pipe_client *cli,
145                                      TALLOC_CTX *mem_ctx,
146                                      struct policy_handle *handle /* [in] [ref] */,
147                                      DATA_BLOB data /* [in]  */,
148                                      uint32_t _data_size /* [in] [value(r->in.data.length)] */,
149                                      uint32_t *num_written /* [out] [ref] */,
150                                      WERROR *werror);
151 NTSTATUS rpccli_spoolss_EndPagePrinter(struct rpc_pipe_client *cli,
152                                        TALLOC_CTX *mem_ctx,
153                                        struct policy_handle *handle /* [in] [ref] */,
154                                        WERROR *werror);
155 NTSTATUS rpccli_spoolss_AbortPrinter(struct rpc_pipe_client *cli,
156                                      TALLOC_CTX *mem_ctx,
157                                      struct policy_handle *handle /* [in] [ref] */,
158                                      WERROR *werror);
159 NTSTATUS rpccli_spoolss_ReadPrinter(struct rpc_pipe_client *cli,
160                                     TALLOC_CTX *mem_ctx,
161                                     struct policy_handle *handle /* [in] [ref] */,
162                                     uint8_t *data /* [out] [ref,size_is(data_size)] */,
163                                     uint32_t data_size /* [in]  */,
164                                     uint32_t *_data_size /* [out] [ref] */,
165                                     WERROR *werror);
166 NTSTATUS rpccli_spoolss_EndDocPrinter(struct rpc_pipe_client *cli,
167                                       TALLOC_CTX *mem_ctx,
168                                       struct policy_handle *handle /* [in] [ref] */,
169                                       WERROR *werror);
170 NTSTATUS rpccli_spoolss_AddJob(struct rpc_pipe_client *cli,
171                                TALLOC_CTX *mem_ctx,
172                                struct policy_handle *handle /* [in] [ref] */,
173                                uint32_t level /* [in]  */,
174                                uint8_t *buffer /* [in,out] [unique,size_is(offered)] */,
175                                uint32_t offered /* [in]  */,
176                                uint32_t *needed /* [out] [ref] */,
177                                WERROR *werror);
178 NTSTATUS rpccli_spoolss_ScheduleJob(struct rpc_pipe_client *cli,
179                                     TALLOC_CTX *mem_ctx,
180                                     struct policy_handle *handle /* [in] [ref] */,
181                                     uint32_t jobid /* [in]  */,
182                                     WERROR *werror);
183 NTSTATUS rpccli_spoolss_GetPrinterData(struct rpc_pipe_client *cli,
184                                        TALLOC_CTX *mem_ctx,
185                                        struct policy_handle *handle /* [in] [ref] */,
186                                        const char *value_name /* [in] [charset(UTF16)] */,
187                                        uint32_t offered /* [in]  */,
188                                        enum spoolss_PrinterDataType *type /* [out] [ref] */,
189                                        union spoolss_PrinterData data /* [out] [subcontext_size(offered),subcontext(4),switch_is(*type)] */,
190                                        uint32_t *needed /* [out] [ref] */,
191                                        WERROR *werror);
192 NTSTATUS rpccli_spoolss_SetPrinterData(struct rpc_pipe_client *cli,
193                                        TALLOC_CTX *mem_ctx,
194                                        struct policy_handle *handle /* [in] [ref] */,
195                                        const char *value_name /* [in] [charset(UTF16)] */,
196                                        enum spoolss_PrinterDataType type /* [in]  */,
197                                        union spoolss_PrinterData data /* [in] [subcontext(4),switch_is(type)] */,
198                                        uint32_t _offered /* [in] [value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] */,
199                                        WERROR *werror);
200 NTSTATUS rpccli_spoolss_WaitForPrinterChange(struct rpc_pipe_client *cli,
201                                              TALLOC_CTX *mem_ctx,
202                                              WERROR *werror);
203 NTSTATUS rpccli_spoolss_ClosePrinter(struct rpc_pipe_client *cli,
204                                      TALLOC_CTX *mem_ctx,
205                                      struct policy_handle *handle /* [in,out] [ref] */,
206                                      WERROR *werror);
207 NTSTATUS rpccli_spoolss_AddForm(struct rpc_pipe_client *cli,
208                                 TALLOC_CTX *mem_ctx,
209                                 struct policy_handle *handle /* [in] [ref] */,
210                                 uint32_t level /* [in]  */,
211                                 union spoolss_AddFormInfo info /* [in] [switch_is(level)] */,
212                                 WERROR *werror);
213 NTSTATUS rpccli_spoolss_DeleteForm(struct rpc_pipe_client *cli,
214                                    TALLOC_CTX *mem_ctx,
215                                    struct policy_handle *handle /* [in] [ref] */,
216                                    const char *form_name /* [in] [charset(UTF16)] */,
217                                    WERROR *werror);
218 NTSTATUS rpccli_spoolss_GetForm(struct rpc_pipe_client *cli,
219                                 TALLOC_CTX *mem_ctx,
220                                 struct policy_handle *handle /* [in] [ref] */,
221                                 const char *form_name /* [in] [charset(UTF16)] */,
222                                 uint32_t level /* [in]  */,
223                                 DATA_BLOB *buffer /* [in] [unique] */,
224                                 uint32_t offered /* [in]  */,
225                                 union spoolss_FormInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
226                                 uint32_t *needed /* [out] [ref] */,
227                                 WERROR *werror);
228 NTSTATUS rpccli_spoolss_SetForm(struct rpc_pipe_client *cli,
229                                 TALLOC_CTX *mem_ctx,
230                                 struct policy_handle *handle /* [in] [ref] */,
231                                 const char *form_name /* [in] [charset(UTF16)] */,
232                                 uint32_t level /* [in]  */,
233                                 union spoolss_AddFormInfo info /* [in] [switch_is(level)] */,
234                                 WERROR *werror);
235 NTSTATUS rpccli_spoolss_EnumForms(struct rpc_pipe_client *cli,
236                                   TALLOC_CTX *mem_ctx,
237                                   struct policy_handle *handle /* [in] [ref] */,
238                                   uint32_t level /* [in]  */,
239                                   DATA_BLOB *buffer /* [in] [unique] */,
240                                   uint32_t offered /* [in]  */,
241                                   uint32_t *count /* [out] [ref] */,
242                                   union spoolss_FormInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
243                                   uint32_t *needed /* [out] [ref] */,
244                                   WERROR *werror);
245 NTSTATUS rpccli_spoolss_EnumPorts(struct rpc_pipe_client *cli,
246                                   TALLOC_CTX *mem_ctx,
247                                   const char *servername /* [in] [unique,charset(UTF16)] */,
248                                   uint32_t level /* [in]  */,
249                                   DATA_BLOB *buffer /* [in] [unique] */,
250                                   uint32_t offered /* [in]  */,
251                                   uint32_t *count /* [out] [ref] */,
252                                   union spoolss_PortInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
253                                   uint32_t *needed /* [out] [ref] */,
254                                   WERROR *werror);
255 NTSTATUS rpccli_spoolss_EnumMonitors(struct rpc_pipe_client *cli,
256                                      TALLOC_CTX *mem_ctx,
257                                      const char *servername /* [in] [unique,charset(UTF16)] */,
258                                      uint32_t level /* [in]  */,
259                                      DATA_BLOB *buffer /* [in] [unique] */,
260                                      uint32_t offered /* [in]  */,
261                                      uint32_t *count /* [out] [ref] */,
262                                      union spoolss_MonitorInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
263                                      uint32_t *needed /* [out] [ref] */,
264                                      WERROR *werror);
265 NTSTATUS rpccli_spoolss_AddPort(struct rpc_pipe_client *cli,
266                                 TALLOC_CTX *mem_ctx,
267                                 const char *server_name /* [in] [unique,charset(UTF16)] */,
268                                 uint32_t unknown /* [in]  */,
269                                 const char *monitor_name /* [in] [charset(UTF16)] */,
270                                 WERROR *werror);
271 NTSTATUS rpccli_spoolss_ConfigurePort(struct rpc_pipe_client *cli,
272                                       TALLOC_CTX *mem_ctx,
273                                       WERROR *werror);
274 NTSTATUS rpccli_spoolss_DeletePort(struct rpc_pipe_client *cli,
275                                    TALLOC_CTX *mem_ctx,
276                                    WERROR *werror);
277 NTSTATUS rpccli_spoolss_CreatePrinterIC(struct rpc_pipe_client *cli,
278                                         TALLOC_CTX *mem_ctx,
279                                         WERROR *werror);
280 NTSTATUS rpccli_spoolss_PlayGDIScriptOnPrinterIC(struct rpc_pipe_client *cli,
281                                                  TALLOC_CTX *mem_ctx,
282                                                  WERROR *werror);
283 NTSTATUS rpccli_spoolss_DeletePrinterIC(struct rpc_pipe_client *cli,
284                                         TALLOC_CTX *mem_ctx,
285                                         WERROR *werror);
286 NTSTATUS rpccli_spoolss_AddPrinterConnection(struct rpc_pipe_client *cli,
287                                              TALLOC_CTX *mem_ctx,
288                                              WERROR *werror);
289 NTSTATUS rpccli_spoolss_DeletePrinterConnection(struct rpc_pipe_client *cli,
290                                                 TALLOC_CTX *mem_ctx,
291                                                 WERROR *werror);
292 NTSTATUS rpccli_spoolss_PrinterMessageBox(struct rpc_pipe_client *cli,
293                                           TALLOC_CTX *mem_ctx,
294                                           WERROR *werror);
295 NTSTATUS rpccli_spoolss_AddMonitor(struct rpc_pipe_client *cli,
296                                    TALLOC_CTX *mem_ctx,
297                                    WERROR *werror);
298 NTSTATUS rpccli_spoolss_DeleteMonitor(struct rpc_pipe_client *cli,
299                                       TALLOC_CTX *mem_ctx,
300                                       WERROR *werror);
301 NTSTATUS rpccli_spoolss_DeletePrintProcessor(struct rpc_pipe_client *cli,
302                                              TALLOC_CTX *mem_ctx,
303                                              WERROR *werror);
304 NTSTATUS rpccli_spoolss_AddPrintProvidor(struct rpc_pipe_client *cli,
305                                          TALLOC_CTX *mem_ctx,
306                                          WERROR *werror);
307 NTSTATUS rpccli_spoolss_DeletePrintProvidor(struct rpc_pipe_client *cli,
308                                             TALLOC_CTX *mem_ctx,
309                                             WERROR *werror);
310 NTSTATUS rpccli_spoolss_EnumPrintProcDataTypes(struct rpc_pipe_client *cli,
311                                                TALLOC_CTX *mem_ctx,
312                                                WERROR *werror);
313 NTSTATUS rpccli_spoolss_ResetPrinter(struct rpc_pipe_client *cli,
314                                      TALLOC_CTX *mem_ctx,
315                                      struct policy_handle *handle /* [in] [ref] */,
316                                      const char *data_type /* [in] [unique,charset(UTF16)] */,
317                                      struct spoolss_DevmodeContainer *devmode_ctr /* [in] [ref] */,
318                                      WERROR *werror);
319 NTSTATUS rpccli_spoolss_GetPrinterDriver2(struct rpc_pipe_client *cli,
320                                           TALLOC_CTX *mem_ctx,
321                                           struct policy_handle *handle /* [in] [ref] */,
322                                           const char *architecture /* [in] [unique,charset(UTF16)] */,
323                                           uint32_t level /* [in]  */,
324                                           DATA_BLOB *buffer /* [in] [unique] */,
325                                           uint32_t offered /* [in]  */,
326                                           uint32_t client_major_version /* [in]  */,
327                                           uint32_t client_minor_version /* [in]  */,
328                                           DATA_BLOB *info /* [out] [unique] */,
329                                           uint32_t *needed /* [out] [ref] */,
330                                           uint32_t *server_major_version /* [out] [ref] */,
331                                           uint32_t *server_minor_version /* [out] [ref] */,
332                                           WERROR *werror);
333 NTSTATUS rpccli_spoolss_FindFirstPrinterChangeNotification(struct rpc_pipe_client *cli,
334                                                            TALLOC_CTX *mem_ctx,
335                                                            WERROR *werror);
336 NTSTATUS rpccli_spoolss_FindNextPrinterChangeNotification(struct rpc_pipe_client *cli,
337                                                           TALLOC_CTX *mem_ctx,
338                                                           WERROR *werror);
339 NTSTATUS rpccli_spoolss_FindClosePrinterNotify(struct rpc_pipe_client *cli,
340                                                TALLOC_CTX *mem_ctx,
341                                                struct policy_handle *handle /* [in] [ref] */,
342                                                WERROR *werror);
343 NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld(struct rpc_pipe_client *cli,
344                                                                     TALLOC_CTX *mem_ctx,
345                                                                     WERROR *werror);
346 NTSTATUS rpccli_spoolss_ReplyOpenPrinter(struct rpc_pipe_client *cli,
347                                          TALLOC_CTX *mem_ctx,
348                                          const char *server_name /* [in] [charset(UTF16)] */,
349                                          uint32_t printer_local /* [in]  */,
350                                          enum winreg_Type type /* [in]  */,
351                                          uint32_t bufsize /* [in] [range(0,512)] */,
352                                          uint8_t *buffer /* [in] [unique,size_is(bufsize)] */,
353                                          struct policy_handle *handle /* [out] [ref] */,
354                                          WERROR *werror);
355 NTSTATUS rpccli_spoolss_RouterReplyPrinter(struct rpc_pipe_client *cli,
356                                            TALLOC_CTX *mem_ctx,
357                                            struct policy_handle *handle /* [in] [ref] */,
358                                            uint32_t flags /* [in]  */,
359                                            uint32_t bufsize /* [in] [range(0,512)] */,
360                                            uint8_t *buffer /* [in] [unique,size_is(bufsize)] */,
361                                            WERROR *werror);
362 NTSTATUS rpccli_spoolss_ReplyClosePrinter(struct rpc_pipe_client *cli,
363                                           TALLOC_CTX *mem_ctx,
364                                           struct policy_handle *handle /* [in,out] [ref] */,
365                                           WERROR *werror);
366 NTSTATUS rpccli_spoolss_AddPortEx(struct rpc_pipe_client *cli,
367                                   TALLOC_CTX *mem_ctx,
368                                   WERROR *werror);
369 NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotification(struct rpc_pipe_client *cli,
370                                                                  TALLOC_CTX *mem_ctx,
371                                                                  WERROR *werror);
372 NTSTATUS rpccli_spoolss_SpoolerInit(struct rpc_pipe_client *cli,
373                                     TALLOC_CTX *mem_ctx,
374                                     WERROR *werror);
375 NTSTATUS rpccli_spoolss_ResetPrinterEx(struct rpc_pipe_client *cli,
376                                        TALLOC_CTX *mem_ctx,
377                                        WERROR *werror);
378 NTSTATUS rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct rpc_pipe_client *cli,
379                                                              TALLOC_CTX *mem_ctx,
380                                                              struct policy_handle *handle /* [in] [ref] */,
381                                                              uint32_t flags /* [in]  */,
382                                                              uint32_t options /* [in]  */,
383                                                              const char *local_machine /* [in] [unique,charset(UTF16)] */,
384                                                              uint32_t printer_local /* [in]  */,
385                                                              struct spoolss_NotifyOption *notify_options /* [in] [unique] */,
386                                                              WERROR *werror);
387 NTSTATUS rpccli_spoolss_RouterReplyPrinterEx(struct rpc_pipe_client *cli,
388                                              TALLOC_CTX *mem_ctx,
389                                              struct policy_handle *handle /* [in] [ref] */,
390                                              uint32_t color /* [in]  */,
391                                              uint32_t flags /* [in]  */,
392                                              uint32_t *reply_result /* [out] [ref] */,
393                                              uint32_t reply_type /* [in]  */,
394                                              union spoolss_ReplyPrinterInfo info /* [in] [switch_is(reply_type)] */,
395                                              WERROR *werror);
396 NTSTATUS rpccli_spoolss_RouterRefreshPrinterChangeNotify(struct rpc_pipe_client *cli,
397                                                          TALLOC_CTX *mem_ctx,
398                                                          struct policy_handle *handle /* [in] [ref] */,
399                                                          uint32_t change_low /* [in]  */,
400                                                          struct spoolss_NotifyOption *options /* [in] [unique] */,
401                                                          struct spoolss_NotifyInfo **info /* [out] [ref] */,
402                                                          WERROR *werror);
403 NTSTATUS rpccli_spoolss_44(struct rpc_pipe_client *cli,
404                            TALLOC_CTX *mem_ctx,
405                            WERROR *werror);
406 NTSTATUS rpccli_spoolss_OpenPrinterEx(struct rpc_pipe_client *cli,
407                                       TALLOC_CTX *mem_ctx,
408                                       const char *printername /* [in] [unique,charset(UTF16)] */,
409                                       const char *datatype /* [in] [unique,charset(UTF16)] */,
410                                       struct spoolss_DevmodeContainer devmode_ctr /* [in]  */,
411                                       uint32_t access_mask /* [in]  */,
412                                       uint32_t level /* [in]  */,
413                                       union spoolss_UserLevel userlevel /* [in] [switch_is(level)] */,
414                                       struct policy_handle *handle /* [out] [ref] */,
415                                       WERROR *werror);
416 NTSTATUS rpccli_spoolss_AddPrinterEx(struct rpc_pipe_client *cli,
417                                      TALLOC_CTX *mem_ctx,
418                                      const char *server /* [in] [unique,charset(UTF16)] */,
419                                      struct spoolss_SetPrinterInfoCtr *info_ctr /* [in] [ref] */,
420                                      struct spoolss_DevmodeContainer *devmode_ctr /* [in] [ref] */,
421                                      struct sec_desc_buf *secdesc_ctr /* [in] [ref] */,
422                                      struct spoolss_UserLevelCtr *userlevel_ctr /* [in] [ref] */,
423                                      struct policy_handle *handle /* [out] [ref] */,
424                                      WERROR *werror);
425 NTSTATUS rpccli_spoolss_47(struct rpc_pipe_client *cli,
426                            TALLOC_CTX *mem_ctx,
427                            WERROR *werror);
428 NTSTATUS rpccli_spoolss_EnumPrinterData(struct rpc_pipe_client *cli,
429                                         TALLOC_CTX *mem_ctx,
430                                         struct policy_handle *handle /* [in] [ref] */,
431                                         uint32_t enum_index /* [in]  */,
432                                         const char *value_name /* [out] [charset(UTF16),size_is(value_offered/2)] */,
433                                         uint32_t value_offered /* [in]  */,
434                                         uint32_t *value_needed /* [out] [ref] */,
435                                         uint32_t *printerdata_type /* [out] [ref] */,
436                                         DATA_BLOB *buffer /* [out] [ref] */,
437                                         uint32_t data_offered /* [in]  */,
438                                         uint32_t *data_needed /* [out] [ref] */,
439                                         WERROR *werror);
440 NTSTATUS rpccli_spoolss_DeletePrinterData(struct rpc_pipe_client *cli,
441                                           TALLOC_CTX *mem_ctx,
442                                           struct policy_handle *handle /* [in] [ref] */,
443                                           const char *value_name /* [in] [charset(UTF16)] */,
444                                           WERROR *werror);
445 NTSTATUS rpccli_spoolss_4a(struct rpc_pipe_client *cli,
446                            TALLOC_CTX *mem_ctx,
447                            WERROR *werror);
448 NTSTATUS rpccli_spoolss_4b(struct rpc_pipe_client *cli,
449                            TALLOC_CTX *mem_ctx,
450                            WERROR *werror);
451 NTSTATUS rpccli_spoolss_4c(struct rpc_pipe_client *cli,
452                            TALLOC_CTX *mem_ctx,
453                            WERROR *werror);
454 NTSTATUS rpccli_spoolss_SetPrinterDataEx(struct rpc_pipe_client *cli,
455                                          TALLOC_CTX *mem_ctx,
456                                          struct policy_handle *handle /* [in] [ref] */,
457                                          const char *key_name /* [in] [charset(UTF16)] */,
458                                          const char *value_name /* [in] [charset(UTF16)] */,
459                                          uint32_t type /* [in]  */,
460                                          uint8_t *buffer /* [in] [ref,size_is(offered)] */,
461                                          uint32_t offered /* [in]  */,
462                                          WERROR *werror);
463 NTSTATUS rpccli_spoolss_GetPrinterDataEx(struct rpc_pipe_client *cli,
464                                          TALLOC_CTX *mem_ctx,
465                                          struct policy_handle *handle /* [in] [ref] */,
466                                          const char *key_name /* [in] [charset(UTF16)] */,
467                                          const char *value_name /* [in] [charset(UTF16)] */,
468                                          uint32_t *type /* [out] [ref] */,
469                                          uint8_t *buffer /* [out] [ref,size_is(offered)] */,
470                                          uint32_t offered /* [in]  */,
471                                          uint32_t *needed /* [out] [ref] */,
472                                          WERROR *werror);
473 NTSTATUS rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client *cli,
474                                           TALLOC_CTX *mem_ctx,
475                                           struct policy_handle *handle /* [in] [ref] */,
476                                           const char *key_name /* [in] [charset(UTF16)] */,
477                                           uint8_t *buffer /* [out] [ref,size_is(offered)] */,
478                                           uint32_t offered /* [in]  */,
479                                           uint32_t *needed /* [out] [ref] */,
480                                           uint32_t *count /* [out] [ref] */,
481                                           WERROR *werror);
482 NTSTATUS rpccli_spoolss_EnumPrinterKey(struct rpc_pipe_client *cli,
483                                        TALLOC_CTX *mem_ctx,
484                                        struct policy_handle *handle /* [in] [ref] */,
485                                        const char *key_name /* [in] [charset(UTF16)] */,
486                                        uint16_t *key_buffer /* [out] [ref,size_is(key_buffer_size/2)] */,
487                                        uint32_t key_buffer_size /* [in]  */,
488                                        uint32_t *needed /* [out] [ref] */,
489                                        WERROR *werror);
490 NTSTATUS rpccli_spoolss_DeletePrinterDataEx(struct rpc_pipe_client *cli,
491                                             TALLOC_CTX *mem_ctx,
492                                             struct policy_handle *handle /* [in] [ref] */,
493                                             const char *key_name /* [in] [charset(UTF16)] */,
494                                             const char *value_name /* [in] [charset(UTF16)] */,
495                                             WERROR *werror);
496 NTSTATUS rpccli_spoolss_DeletePrinterKey(struct rpc_pipe_client *cli,
497                                          TALLOC_CTX *mem_ctx,
498                                          struct policy_handle *handle /* [in] [ref] */,
499                                          const char *key_name /* [in] [charset(UTF16)] */,
500                                          WERROR *werror);
501 NTSTATUS rpccli_spoolss_53(struct rpc_pipe_client *cli,
502                            TALLOC_CTX *mem_ctx,
503                            WERROR *werror);
504 NTSTATUS rpccli_spoolss_DeletePrinterDriverEx(struct rpc_pipe_client *cli,
505                                               TALLOC_CTX *mem_ctx,
506                                               const char *server /* [in] [unique,charset(UTF16)] */,
507                                               const char *architecture /* [in] [charset(UTF16)] */,
508                                               const char *driver /* [in] [charset(UTF16)] */,
509                                               uint32_t delete_flags /* [in]  */,
510                                               uint32_t version /* [in]  */,
511                                               WERROR *werror);
512 NTSTATUS rpccli_spoolss_55(struct rpc_pipe_client *cli,
513                            TALLOC_CTX *mem_ctx,
514                            WERROR *werror);
515 NTSTATUS rpccli_spoolss_56(struct rpc_pipe_client *cli,
516                            TALLOC_CTX *mem_ctx,
517                            WERROR *werror);
518 NTSTATUS rpccli_spoolss_57(struct rpc_pipe_client *cli,
519                            TALLOC_CTX *mem_ctx,
520                            WERROR *werror);
521 NTSTATUS rpccli_spoolss_XcvData(struct rpc_pipe_client *cli,
522                                 TALLOC_CTX *mem_ctx,
523                                 struct policy_handle *handle /* [in] [ref] */,
524                                 const char *function_name /* [in] [charset(UTF16)] */,
525                                 DATA_BLOB in_data /* [in]  */,
526                                 uint32_t _in_data_length /* [in] [value(r->in.in_data.length)] */,
527                                 uint8_t *out_data /* [out] [ref,size_is(out_data_size)] */,
528                                 uint32_t out_data_size /* [in]  */,
529                                 uint32_t *needed /* [out] [ref] */,
530                                 uint32_t *status_code /* [in,out] [ref] */,
531                                 WERROR *werror);
532 NTSTATUS rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client *cli,
533                                            TALLOC_CTX *mem_ctx,
534                                            const char *servername /* [in] [ref,charset(UTF16)] */,
535                                            uint32_t level /* [in]  */,
536                                            union spoolss_AddDriverInfo info /* [in] [switch_is(level)] */,
537                                            uint32_t flags /* [in]  */,
538                                            WERROR *werror);
539 NTSTATUS rpccli_spoolss_5a(struct rpc_pipe_client *cli,
540                            TALLOC_CTX *mem_ctx,
541                            WERROR *werror);
542 NTSTATUS rpccli_spoolss_5b(struct rpc_pipe_client *cli,
543                            TALLOC_CTX *mem_ctx,
544                            WERROR *werror);
545 NTSTATUS rpccli_spoolss_5c(struct rpc_pipe_client *cli,
546                            TALLOC_CTX *mem_ctx,
547                            WERROR *werror);
548 NTSTATUS rpccli_spoolss_5d(struct rpc_pipe_client *cli,
549                            TALLOC_CTX *mem_ctx,
550                            WERROR *werror);
551 NTSTATUS rpccli_spoolss_5e(struct rpc_pipe_client *cli,
552                            TALLOC_CTX *mem_ctx,
553                            WERROR *werror);
554 NTSTATUS rpccli_spoolss_5f(struct rpc_pipe_client *cli,
555                            TALLOC_CTX *mem_ctx,
556                            WERROR *werror);
557 #endif /* __CLI_SPOOLSS__ */