1
#include "../librpc/gen_ndr/ndr_spoolss.h"
2
#ifndef __SRV_SPOOLSS__
3
#define __SRV_SPOOLSS__
4
WERROR _spoolss_EnumPrinters(pipes_struct *p, struct spoolss_EnumPrinters *r);
5
WERROR _spoolss_OpenPrinter(pipes_struct *p, struct spoolss_OpenPrinter *r);
6
WERROR _spoolss_SetJob(pipes_struct *p, struct spoolss_SetJob *r);
7
WERROR _spoolss_GetJob(pipes_struct *p, struct spoolss_GetJob *r);
8
WERROR _spoolss_EnumJobs(pipes_struct *p, struct spoolss_EnumJobs *r);
9
WERROR _spoolss_AddPrinter(pipes_struct *p, struct spoolss_AddPrinter *r);
10
WERROR _spoolss_DeletePrinter(pipes_struct *p, struct spoolss_DeletePrinter *r);
11
WERROR _spoolss_SetPrinter(pipes_struct *p, struct spoolss_SetPrinter *r);
12
WERROR _spoolss_GetPrinter(pipes_struct *p, struct spoolss_GetPrinter *r);
13
WERROR _spoolss_AddPrinterDriver(pipes_struct *p, struct spoolss_AddPrinterDriver *r);
14
WERROR _spoolss_EnumPrinterDrivers(pipes_struct *p, struct spoolss_EnumPrinterDrivers *r);
15
WERROR _spoolss_GetPrinterDriver(pipes_struct *p, struct spoolss_GetPrinterDriver *r);
16
WERROR _spoolss_GetPrinterDriverDirectory(pipes_struct *p, struct spoolss_GetPrinterDriverDirectory *r);
17
WERROR _spoolss_DeletePrinterDriver(pipes_struct *p, struct spoolss_DeletePrinterDriver *r);
18
WERROR _spoolss_AddPrintProcessor(pipes_struct *p, struct spoolss_AddPrintProcessor *r);
19
WERROR _spoolss_EnumPrintProcessors(pipes_struct *p, struct spoolss_EnumPrintProcessors *r);
20
WERROR _spoolss_GetPrintProcessorDirectory(pipes_struct *p, struct spoolss_GetPrintProcessorDirectory *r);
21
WERROR _spoolss_StartDocPrinter(pipes_struct *p, struct spoolss_StartDocPrinter *r);
22
WERROR _spoolss_StartPagePrinter(pipes_struct *p, struct spoolss_StartPagePrinter *r);
23
WERROR _spoolss_WritePrinter(pipes_struct *p, struct spoolss_WritePrinter *r);
24
WERROR _spoolss_EndPagePrinter(pipes_struct *p, struct spoolss_EndPagePrinter *r);
25
WERROR _spoolss_AbortPrinter(pipes_struct *p, struct spoolss_AbortPrinter *r);
26
WERROR _spoolss_ReadPrinter(pipes_struct *p, struct spoolss_ReadPrinter *r);
27
WERROR _spoolss_EndDocPrinter(pipes_struct *p, struct spoolss_EndDocPrinter *r);
28
WERROR _spoolss_AddJob(pipes_struct *p, struct spoolss_AddJob *r);
29
WERROR _spoolss_ScheduleJob(pipes_struct *p, struct spoolss_ScheduleJob *r);
30
WERROR _spoolss_GetPrinterData(pipes_struct *p, struct spoolss_GetPrinterData *r);
31
WERROR _spoolss_SetPrinterData(pipes_struct *p, struct spoolss_SetPrinterData *r);
32
WERROR _spoolss_WaitForPrinterChange(pipes_struct *p, struct spoolss_WaitForPrinterChange *r);
33
WERROR _spoolss_ClosePrinter(pipes_struct *p, struct spoolss_ClosePrinter *r);
34
WERROR _spoolss_AddForm(pipes_struct *p, struct spoolss_AddForm *r);
35
WERROR _spoolss_DeleteForm(pipes_struct *p, struct spoolss_DeleteForm *r);
36
WERROR _spoolss_GetForm(pipes_struct *p, struct spoolss_GetForm *r);
37
WERROR _spoolss_SetForm(pipes_struct *p, struct spoolss_SetForm *r);
38
WERROR _spoolss_EnumForms(pipes_struct *p, struct spoolss_EnumForms *r);
39
WERROR _spoolss_EnumPorts(pipes_struct *p, struct spoolss_EnumPorts *r);
40
WERROR _spoolss_EnumMonitors(pipes_struct *p, struct spoolss_EnumMonitors *r);
41
WERROR _spoolss_AddPort(pipes_struct *p, struct spoolss_AddPort *r);
42
WERROR _spoolss_ConfigurePort(pipes_struct *p, struct spoolss_ConfigurePort *r);
43
WERROR _spoolss_DeletePort(pipes_struct *p, struct spoolss_DeletePort *r);
44
WERROR _spoolss_CreatePrinterIC(pipes_struct *p, struct spoolss_CreatePrinterIC *r);
45
WERROR _spoolss_PlayGDIScriptOnPrinterIC(pipes_struct *p, struct spoolss_PlayGDIScriptOnPrinterIC *r);
46
WERROR _spoolss_DeletePrinterIC(pipes_struct *p, struct spoolss_DeletePrinterIC *r);
47
WERROR _spoolss_AddPrinterConnection(pipes_struct *p, struct spoolss_AddPrinterConnection *r);
48
WERROR _spoolss_DeletePrinterConnection(pipes_struct *p, struct spoolss_DeletePrinterConnection *r);
49
WERROR _spoolss_PrinterMessageBox(pipes_struct *p, struct spoolss_PrinterMessageBox *r);
50
WERROR _spoolss_AddMonitor(pipes_struct *p, struct spoolss_AddMonitor *r);
51
WERROR _spoolss_DeleteMonitor(pipes_struct *p, struct spoolss_DeleteMonitor *r);
52
WERROR _spoolss_DeletePrintProcessor(pipes_struct *p, struct spoolss_DeletePrintProcessor *r);
53
WERROR _spoolss_AddPrintProvidor(pipes_struct *p, struct spoolss_AddPrintProvidor *r);
54
WERROR _spoolss_DeletePrintProvidor(pipes_struct *p, struct spoolss_DeletePrintProvidor *r);
55
WERROR _spoolss_EnumPrintProcDataTypes(pipes_struct *p, struct spoolss_EnumPrintProcDataTypes *r);
56
WERROR _spoolss_ResetPrinter(pipes_struct *p, struct spoolss_ResetPrinter *r);
57
WERROR _spoolss_GetPrinterDriver2(pipes_struct *p, struct spoolss_GetPrinterDriver2 *r);
58
WERROR _spoolss_FindFirstPrinterChangeNotification(pipes_struct *p, struct spoolss_FindFirstPrinterChangeNotification *r);
59
WERROR _spoolss_FindNextPrinterChangeNotification(pipes_struct *p, struct spoolss_FindNextPrinterChangeNotification *r);
60
WERROR _spoolss_FindClosePrinterNotify(pipes_struct *p, struct spoolss_FindClosePrinterNotify *r);
61
WERROR _spoolss_RouterFindFirstPrinterChangeNotificationOld(pipes_struct *p, struct spoolss_RouterFindFirstPrinterChangeNotificationOld *r);
62
WERROR _spoolss_ReplyOpenPrinter(pipes_struct *p, struct spoolss_ReplyOpenPrinter *r);
63
WERROR _spoolss_RouterReplyPrinter(pipes_struct *p, struct spoolss_RouterReplyPrinter *r);
64
WERROR _spoolss_ReplyClosePrinter(pipes_struct *p, struct spoolss_ReplyClosePrinter *r);
65
WERROR _spoolss_AddPortEx(pipes_struct *p, struct spoolss_AddPortEx *r);
66
WERROR _spoolss_RouterFindFirstPrinterChangeNotification(pipes_struct *p, struct spoolss_RouterFindFirstPrinterChangeNotification *r);
67
WERROR _spoolss_SpoolerInit(pipes_struct *p, struct spoolss_SpoolerInit *r);
68
WERROR _spoolss_ResetPrinterEx(pipes_struct *p, struct spoolss_ResetPrinterEx *r);
69
WERROR _spoolss_RemoteFindFirstPrinterChangeNotifyEx(pipes_struct *p, struct spoolss_RemoteFindFirstPrinterChangeNotifyEx *r);
70
WERROR _spoolss_RouterReplyPrinterEx(pipes_struct *p, struct spoolss_RouterReplyPrinterEx *r);
71
WERROR _spoolss_RouterRefreshPrinterChangeNotify(pipes_struct *p, struct spoolss_RouterRefreshPrinterChangeNotify *r);
72
WERROR _spoolss_44(pipes_struct *p, struct spoolss_44 *r);
73
WERROR _spoolss_OpenPrinterEx(pipes_struct *p, struct spoolss_OpenPrinterEx *r);
74
WERROR _spoolss_AddPrinterEx(pipes_struct *p, struct spoolss_AddPrinterEx *r);
75
WERROR _spoolss_47(pipes_struct *p, struct spoolss_47 *r);
76
WERROR _spoolss_EnumPrinterData(pipes_struct *p, struct spoolss_EnumPrinterData *r);
77
WERROR _spoolss_DeletePrinterData(pipes_struct *p, struct spoolss_DeletePrinterData *r);
78
WERROR _spoolss_4a(pipes_struct *p, struct spoolss_4a *r);
79
WERROR _spoolss_4b(pipes_struct *p, struct spoolss_4b *r);
80
WERROR _spoolss_4c(pipes_struct *p, struct spoolss_4c *r);
81
WERROR _spoolss_SetPrinterDataEx(pipes_struct *p, struct spoolss_SetPrinterDataEx *r);
82
WERROR _spoolss_GetPrinterDataEx(pipes_struct *p, struct spoolss_GetPrinterDataEx *r);
83
WERROR _spoolss_EnumPrinterDataEx(pipes_struct *p, struct spoolss_EnumPrinterDataEx *r);
84
WERROR _spoolss_EnumPrinterKey(pipes_struct *p, struct spoolss_EnumPrinterKey *r);
85
WERROR _spoolss_DeletePrinterDataEx(pipes_struct *p, struct spoolss_DeletePrinterDataEx *r);
86
WERROR _spoolss_DeletePrinterKey(pipes_struct *p, struct spoolss_DeletePrinterKey *r);
87
WERROR _spoolss_53(pipes_struct *p, struct spoolss_53 *r);
88
WERROR _spoolss_DeletePrinterDriverEx(pipes_struct *p, struct spoolss_DeletePrinterDriverEx *r);
89
WERROR _spoolss_55(pipes_struct *p, struct spoolss_55 *r);
90
WERROR _spoolss_56(pipes_struct *p, struct spoolss_56 *r);
91
WERROR _spoolss_57(pipes_struct *p, struct spoolss_57 *r);
92
WERROR _spoolss_XcvData(pipes_struct *p, struct spoolss_XcvData *r);
93
WERROR _spoolss_AddPrinterDriverEx(pipes_struct *p, struct spoolss_AddPrinterDriverEx *r);
94
WERROR _spoolss_5a(pipes_struct *p, struct spoolss_5a *r);
95
WERROR _spoolss_5b(pipes_struct *p, struct spoolss_5b *r);
96
WERROR _spoolss_5c(pipes_struct *p, struct spoolss_5c *r);
97
WERROR _spoolss_5d(pipes_struct *p, struct spoolss_5d *r);
98
WERROR _spoolss_5e(pipes_struct *p, struct spoolss_5e *r);
99
WERROR _spoolss_5f(pipes_struct *p, struct spoolss_5f *r);
100
void spoolss_get_pipe_fns(struct api_struct **fns, int *n_fns);
101
NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32_t opnum, void *r);
102
WERROR _spoolss_EnumPrinters(pipes_struct *p, struct spoolss_EnumPrinters *r);
103
WERROR _spoolss_OpenPrinter(pipes_struct *p, struct spoolss_OpenPrinter *r);
104
WERROR _spoolss_SetJob(pipes_struct *p, struct spoolss_SetJob *r);
105
WERROR _spoolss_GetJob(pipes_struct *p, struct spoolss_GetJob *r);
106
WERROR _spoolss_EnumJobs(pipes_struct *p, struct spoolss_EnumJobs *r);
107
WERROR _spoolss_AddPrinter(pipes_struct *p, struct spoolss_AddPrinter *r);
108
WERROR _spoolss_DeletePrinter(pipes_struct *p, struct spoolss_DeletePrinter *r);
109
WERROR _spoolss_SetPrinter(pipes_struct *p, struct spoolss_SetPrinter *r);
110
WERROR _spoolss_GetPrinter(pipes_struct *p, struct spoolss_GetPrinter *r);
111
WERROR _spoolss_AddPrinterDriver(pipes_struct *p, struct spoolss_AddPrinterDriver *r);
112
WERROR _spoolss_EnumPrinterDrivers(pipes_struct *p, struct spoolss_EnumPrinterDrivers *r);
113
WERROR _spoolss_GetPrinterDriver(pipes_struct *p, struct spoolss_GetPrinterDriver *r);
114
WERROR _spoolss_GetPrinterDriverDirectory(pipes_struct *p, struct spoolss_GetPrinterDriverDirectory *r);
115
WERROR _spoolss_DeletePrinterDriver(pipes_struct *p, struct spoolss_DeletePrinterDriver *r);
116
WERROR _spoolss_AddPrintProcessor(pipes_struct *p, struct spoolss_AddPrintProcessor *r);
117
WERROR _spoolss_EnumPrintProcessors(pipes_struct *p, struct spoolss_EnumPrintProcessors *r);
118
WERROR _spoolss_GetPrintProcessorDirectory(pipes_struct *p, struct spoolss_GetPrintProcessorDirectory *r);
119
WERROR _spoolss_StartDocPrinter(pipes_struct *p, struct spoolss_StartDocPrinter *r);
120
WERROR _spoolss_StartPagePrinter(pipes_struct *p, struct spoolss_StartPagePrinter *r);
121
WERROR _spoolss_WritePrinter(pipes_struct *p, struct spoolss_WritePrinter *r);
122
WERROR _spoolss_EndPagePrinter(pipes_struct *p, struct spoolss_EndPagePrinter *r);
123
WERROR _spoolss_AbortPrinter(pipes_struct *p, struct spoolss_AbortPrinter *r);
124
WERROR _spoolss_ReadPrinter(pipes_struct *p, struct spoolss_ReadPrinter *r);
125
WERROR _spoolss_EndDocPrinter(pipes_struct *p, struct spoolss_EndDocPrinter *r);
126
WERROR _spoolss_AddJob(pipes_struct *p, struct spoolss_AddJob *r);
127
WERROR _spoolss_ScheduleJob(pipes_struct *p, struct spoolss_ScheduleJob *r);
128
WERROR _spoolss_GetPrinterData(pipes_struct *p, struct spoolss_GetPrinterData *r);
129
WERROR _spoolss_SetPrinterData(pipes_struct *p, struct spoolss_SetPrinterData *r);
130
WERROR _spoolss_WaitForPrinterChange(pipes_struct *p, struct spoolss_WaitForPrinterChange *r);
131
WERROR _spoolss_ClosePrinter(pipes_struct *p, struct spoolss_ClosePrinter *r);
132
WERROR _spoolss_AddForm(pipes_struct *p, struct spoolss_AddForm *r);
133
WERROR _spoolss_DeleteForm(pipes_struct *p, struct spoolss_DeleteForm *r);
134
WERROR _spoolss_GetForm(pipes_struct *p, struct spoolss_GetForm *r);
135
WERROR _spoolss_SetForm(pipes_struct *p, struct spoolss_SetForm *r);
136
WERROR _spoolss_EnumForms(pipes_struct *p, struct spoolss_EnumForms *r);
137
WERROR _spoolss_EnumPorts(pipes_struct *p, struct spoolss_EnumPorts *r);
138
WERROR _spoolss_EnumMonitors(pipes_struct *p, struct spoolss_EnumMonitors *r);
139
WERROR _spoolss_AddPort(pipes_struct *p, struct spoolss_AddPort *r);
140
WERROR _spoolss_ConfigurePort(pipes_struct *p, struct spoolss_ConfigurePort *r);
141
WERROR _spoolss_DeletePort(pipes_struct *p, struct spoolss_DeletePort *r);
142
WERROR _spoolss_CreatePrinterIC(pipes_struct *p, struct spoolss_CreatePrinterIC *r);
143
WERROR _spoolss_PlayGDIScriptOnPrinterIC(pipes_struct *p, struct spoolss_PlayGDIScriptOnPrinterIC *r);
144
WERROR _spoolss_DeletePrinterIC(pipes_struct *p, struct spoolss_DeletePrinterIC *r);
145
WERROR _spoolss_AddPrinterConnection(pipes_struct *p, struct spoolss_AddPrinterConnection *r);
146
WERROR _spoolss_DeletePrinterConnection(pipes_struct *p, struct spoolss_DeletePrinterConnection *r);
147
WERROR _spoolss_PrinterMessageBox(pipes_struct *p, struct spoolss_PrinterMessageBox *r);
148
WERROR _spoolss_AddMonitor(pipes_struct *p, struct spoolss_AddMonitor *r);
149
WERROR _spoolss_DeleteMonitor(pipes_struct *p, struct spoolss_DeleteMonitor *r);
150
WERROR _spoolss_DeletePrintProcessor(pipes_struct *p, struct spoolss_DeletePrintProcessor *r);
151
WERROR _spoolss_AddPrintProvidor(pipes_struct *p, struct spoolss_AddPrintProvidor *r);
152
WERROR _spoolss_DeletePrintProvidor(pipes_struct *p, struct spoolss_DeletePrintProvidor *r);
153
WERROR _spoolss_EnumPrintProcDataTypes(pipes_struct *p, struct spoolss_EnumPrintProcDataTypes *r);
154
WERROR _spoolss_ResetPrinter(pipes_struct *p, struct spoolss_ResetPrinter *r);
155
WERROR _spoolss_GetPrinterDriver2(pipes_struct *p, struct spoolss_GetPrinterDriver2 *r);
156
WERROR _spoolss_FindFirstPrinterChangeNotification(pipes_struct *p, struct spoolss_FindFirstPrinterChangeNotification *r);
157
WERROR _spoolss_FindNextPrinterChangeNotification(pipes_struct *p, struct spoolss_FindNextPrinterChangeNotification *r);
158
WERROR _spoolss_FindClosePrinterNotify(pipes_struct *p, struct spoolss_FindClosePrinterNotify *r);
159
WERROR _spoolss_RouterFindFirstPrinterChangeNotificationOld(pipes_struct *p, struct spoolss_RouterFindFirstPrinterChangeNotificationOld *r);
160
WERROR _spoolss_ReplyOpenPrinter(pipes_struct *p, struct spoolss_ReplyOpenPrinter *r);
161
WERROR _spoolss_RouterReplyPrinter(pipes_struct *p, struct spoolss_RouterReplyPrinter *r);
162
WERROR _spoolss_ReplyClosePrinter(pipes_struct *p, struct spoolss_ReplyClosePrinter *r);
163
WERROR _spoolss_AddPortEx(pipes_struct *p, struct spoolss_AddPortEx *r);
164
WERROR _spoolss_RouterFindFirstPrinterChangeNotification(pipes_struct *p, struct spoolss_RouterFindFirstPrinterChangeNotification *r);
165
WERROR _spoolss_SpoolerInit(pipes_struct *p, struct spoolss_SpoolerInit *r);
166
WERROR _spoolss_ResetPrinterEx(pipes_struct *p, struct spoolss_ResetPrinterEx *r);
167
WERROR _spoolss_RemoteFindFirstPrinterChangeNotifyEx(pipes_struct *p, struct spoolss_RemoteFindFirstPrinterChangeNotifyEx *r);
168
WERROR _spoolss_RouterReplyPrinterEx(pipes_struct *p, struct spoolss_RouterReplyPrinterEx *r);
169
WERROR _spoolss_RouterRefreshPrinterChangeNotify(pipes_struct *p, struct spoolss_RouterRefreshPrinterChangeNotify *r);
170
WERROR _spoolss_44(pipes_struct *p, struct spoolss_44 *r);
171
WERROR _spoolss_OpenPrinterEx(pipes_struct *p, struct spoolss_OpenPrinterEx *r);
172
WERROR _spoolss_AddPrinterEx(pipes_struct *p, struct spoolss_AddPrinterEx *r);
173
WERROR _spoolss_47(pipes_struct *p, struct spoolss_47 *r);
174
WERROR _spoolss_EnumPrinterData(pipes_struct *p, struct spoolss_EnumPrinterData *r);
175
WERROR _spoolss_DeletePrinterData(pipes_struct *p, struct spoolss_DeletePrinterData *r);
176
WERROR _spoolss_4a(pipes_struct *p, struct spoolss_4a *r);
177
WERROR _spoolss_4b(pipes_struct *p, struct spoolss_4b *r);
178
WERROR _spoolss_4c(pipes_struct *p, struct spoolss_4c *r);
179
WERROR _spoolss_SetPrinterDataEx(pipes_struct *p, struct spoolss_SetPrinterDataEx *r);
180
WERROR _spoolss_GetPrinterDataEx(pipes_struct *p, struct spoolss_GetPrinterDataEx *r);
181
WERROR _spoolss_EnumPrinterDataEx(pipes_struct *p, struct spoolss_EnumPrinterDataEx *r);
182
WERROR _spoolss_EnumPrinterKey(pipes_struct *p, struct spoolss_EnumPrinterKey *r);
183
WERROR _spoolss_DeletePrinterDataEx(pipes_struct *p, struct spoolss_DeletePrinterDataEx *r);
184
WERROR _spoolss_DeletePrinterKey(pipes_struct *p, struct spoolss_DeletePrinterKey *r);
185
WERROR _spoolss_53(pipes_struct *p, struct spoolss_53 *r);
186
WERROR _spoolss_DeletePrinterDriverEx(pipes_struct *p, struct spoolss_DeletePrinterDriverEx *r);
187
WERROR _spoolss_55(pipes_struct *p, struct spoolss_55 *r);
188
WERROR _spoolss_56(pipes_struct *p, struct spoolss_56 *r);
189
WERROR _spoolss_57(pipes_struct *p, struct spoolss_57 *r);
190
WERROR _spoolss_XcvData(pipes_struct *p, struct spoolss_XcvData *r);
191
WERROR _spoolss_AddPrinterDriverEx(pipes_struct *p, struct spoolss_AddPrinterDriverEx *r);
192
WERROR _spoolss_5a(pipes_struct *p, struct spoolss_5a *r);
193
WERROR _spoolss_5b(pipes_struct *p, struct spoolss_5b *r);
194
WERROR _spoolss_5c(pipes_struct *p, struct spoolss_5c *r);
195
WERROR _spoolss_5d(pipes_struct *p, struct spoolss_5d *r);
196
WERROR _spoolss_5e(pipes_struct *p, struct spoolss_5e *r);
197
WERROR _spoolss_5f(pipes_struct *p, struct spoolss_5f *r);
198
NTSTATUS rpc_spoolss_init(void);
199
#endif /* __SRV_SPOOLSS__ */