#include "../librpc/gen_ndr/ndr_spoolss.h" #ifndef __SRV_SPOOLSS__ #define __SRV_SPOOLSS__ WERROR _spoolss_EnumPrinters(pipes_struct *p, struct spoolss_EnumPrinters *r); WERROR _spoolss_OpenPrinter(pipes_struct *p, struct spoolss_OpenPrinter *r); WERROR _spoolss_SetJob(pipes_struct *p, struct spoolss_SetJob *r); WERROR _spoolss_GetJob(pipes_struct *p, struct spoolss_GetJob *r); WERROR _spoolss_EnumJobs(pipes_struct *p, struct spoolss_EnumJobs *r); WERROR _spoolss_AddPrinter(pipes_struct *p, struct spoolss_AddPrinter *r); WERROR _spoolss_DeletePrinter(pipes_struct *p, struct spoolss_DeletePrinter *r); WERROR _spoolss_SetPrinter(pipes_struct *p, struct spoolss_SetPrinter *r); WERROR _spoolss_GetPrinter(pipes_struct *p, struct spoolss_GetPrinter *r); WERROR _spoolss_AddPrinterDriver(pipes_struct *p, struct spoolss_AddPrinterDriver *r); WERROR _spoolss_EnumPrinterDrivers(pipes_struct *p, struct spoolss_EnumPrinterDrivers *r); WERROR _spoolss_GetPrinterDriver(pipes_struct *p, struct spoolss_GetPrinterDriver *r); WERROR _spoolss_GetPrinterDriverDirectory(pipes_struct *p, struct spoolss_GetPrinterDriverDirectory *r); WERROR _spoolss_DeletePrinterDriver(pipes_struct *p, struct spoolss_DeletePrinterDriver *r); WERROR _spoolss_AddPrintProcessor(pipes_struct *p, struct spoolss_AddPrintProcessor *r); WERROR _spoolss_EnumPrintProcessors(pipes_struct *p, struct spoolss_EnumPrintProcessors *r); WERROR _spoolss_GetPrintProcessorDirectory(pipes_struct *p, struct spoolss_GetPrintProcessorDirectory *r); WERROR _spoolss_StartDocPrinter(pipes_struct *p, struct spoolss_StartDocPrinter *r); WERROR _spoolss_StartPagePrinter(pipes_struct *p, struct spoolss_StartPagePrinter *r); WERROR _spoolss_WritePrinter(pipes_struct *p, struct spoolss_WritePrinter *r); WERROR _spoolss_EndPagePrinter(pipes_struct *p, struct spoolss_EndPagePrinter *r); WERROR _spoolss_AbortPrinter(pipes_struct *p, struct spoolss_AbortPrinter *r); WERROR _spoolss_ReadPrinter(pipes_struct *p, struct spoolss_ReadPrinter *r); WERROR _spoolss_EndDocPrinter(pipes_struct *p, struct spoolss_EndDocPrinter *r); WERROR _spoolss_AddJob(pipes_struct *p, struct spoolss_AddJob *r); WERROR _spoolss_ScheduleJob(pipes_struct *p, struct spoolss_ScheduleJob *r); WERROR _spoolss_GetPrinterData(pipes_struct *p, struct spoolss_GetPrinterData *r); WERROR _spoolss_SetPrinterData(pipes_struct *p, struct spoolss_SetPrinterData *r); WERROR _spoolss_WaitForPrinterChange(pipes_struct *p, struct spoolss_WaitForPrinterChange *r); WERROR _spoolss_ClosePrinter(pipes_struct *p, struct spoolss_ClosePrinter *r); WERROR _spoolss_AddForm(pipes_struct *p, struct spoolss_AddForm *r); WERROR _spoolss_DeleteForm(pipes_struct *p, struct spoolss_DeleteForm *r); WERROR _spoolss_GetForm(pipes_struct *p, struct spoolss_GetForm *r); WERROR _spoolss_SetForm(pipes_struct *p, struct spoolss_SetForm *r); WERROR _spoolss_EnumForms(pipes_struct *p, struct spoolss_EnumForms *r); WERROR _spoolss_EnumPorts(pipes_struct *p, struct spoolss_EnumPorts *r); WERROR _spoolss_EnumMonitors(pipes_struct *p, struct spoolss_EnumMonitors *r); WERROR _spoolss_AddPort(pipes_struct *p, struct spoolss_AddPort *r); WERROR _spoolss_ConfigurePort(pipes_struct *p, struct spoolss_ConfigurePort *r); WERROR _spoolss_DeletePort(pipes_struct *p, struct spoolss_DeletePort *r); WERROR _spoolss_CreatePrinterIC(pipes_struct *p, struct spoolss_CreatePrinterIC *r); WERROR _spoolss_PlayGDIScriptOnPrinterIC(pipes_struct *p, struct spoolss_PlayGDIScriptOnPrinterIC *r); WERROR _spoolss_DeletePrinterIC(pipes_struct *p, struct spoolss_DeletePrinterIC *r); WERROR _spoolss_AddPrinterConnection(pipes_struct *p, struct spoolss_AddPrinterConnection *r); WERROR _spoolss_DeletePrinterConnection(pipes_struct *p, struct spoolss_DeletePrinterConnection *r); WERROR _spoolss_PrinterMessageBox(pipes_struct *p, struct spoolss_PrinterMessageBox *r); WERROR _spoolss_AddMonitor(pipes_struct *p, struct spoolss_AddMonitor *r); WERROR _spoolss_DeleteMonitor(pipes_struct *p, struct spoolss_DeleteMonitor *r); WERROR _spoolss_DeletePrintProcessor(pipes_struct *p, struct spoolss_DeletePrintProcessor *r); WERROR _spoolss_AddPrintProvidor(pipes_struct *p, struct spoolss_AddPrintProvidor *r); WERROR _spoolss_DeletePrintProvidor(pipes_struct *p, struct spoolss_DeletePrintProvidor *r); WERROR _spoolss_EnumPrintProcDataTypes(pipes_struct *p, struct spoolss_EnumPrintProcDataTypes *r); WERROR _spoolss_ResetPrinter(pipes_struct *p, struct spoolss_ResetPrinter *r); WERROR _spoolss_GetPrinterDriver2(pipes_struct *p, struct spoolss_GetPrinterDriver2 *r); WERROR _spoolss_FindFirstPrinterChangeNotification(pipes_struct *p, struct spoolss_FindFirstPrinterChangeNotification *r); WERROR _spoolss_FindNextPrinterChangeNotification(pipes_struct *p, struct spoolss_FindNextPrinterChangeNotification *r); WERROR _spoolss_FindClosePrinterNotify(pipes_struct *p, struct spoolss_FindClosePrinterNotify *r); WERROR _spoolss_RouterFindFirstPrinterChangeNotificationOld(pipes_struct *p, struct spoolss_RouterFindFirstPrinterChangeNotificationOld *r); WERROR _spoolss_ReplyOpenPrinter(pipes_struct *p, struct spoolss_ReplyOpenPrinter *r); WERROR _spoolss_RouterReplyPrinter(pipes_struct *p, struct spoolss_RouterReplyPrinter *r); WERROR _spoolss_ReplyClosePrinter(pipes_struct *p, struct spoolss_ReplyClosePrinter *r); WERROR _spoolss_AddPortEx(pipes_struct *p, struct spoolss_AddPortEx *r); WERROR _spoolss_RouterFindFirstPrinterChangeNotification(pipes_struct *p, struct spoolss_RouterFindFirstPrinterChangeNotification *r); WERROR _spoolss_SpoolerInit(pipes_struct *p, struct spoolss_SpoolerInit *r); WERROR _spoolss_ResetPrinterEx(pipes_struct *p, struct spoolss_ResetPrinterEx *r); WERROR _spoolss_RemoteFindFirstPrinterChangeNotifyEx(pipes_struct *p, struct spoolss_RemoteFindFirstPrinterChangeNotifyEx *r); WERROR _spoolss_RouterReplyPrinterEx(pipes_struct *p, struct spoolss_RouterReplyPrinterEx *r); WERROR _spoolss_RouterRefreshPrinterChangeNotify(pipes_struct *p, struct spoolss_RouterRefreshPrinterChangeNotify *r); WERROR _spoolss_44(pipes_struct *p, struct spoolss_44 *r); WERROR _spoolss_OpenPrinterEx(pipes_struct *p, struct spoolss_OpenPrinterEx *r); WERROR _spoolss_AddPrinterEx(pipes_struct *p, struct spoolss_AddPrinterEx *r); WERROR _spoolss_47(pipes_struct *p, struct spoolss_47 *r); WERROR _spoolss_EnumPrinterData(pipes_struct *p, struct spoolss_EnumPrinterData *r); WERROR _spoolss_DeletePrinterData(pipes_struct *p, struct spoolss_DeletePrinterData *r); WERROR _spoolss_4a(pipes_struct *p, struct spoolss_4a *r); WERROR _spoolss_4b(pipes_struct *p, struct spoolss_4b *r); WERROR _spoolss_4c(pipes_struct *p, struct spoolss_4c *r); WERROR _spoolss_SetPrinterDataEx(pipes_struct *p, struct spoolss_SetPrinterDataEx *r); WERROR _spoolss_GetPrinterDataEx(pipes_struct *p, struct spoolss_GetPrinterDataEx *r); WERROR _spoolss_EnumPrinterDataEx(pipes_struct *p, struct spoolss_EnumPrinterDataEx *r); WERROR _spoolss_EnumPrinterKey(pipes_struct *p, struct spoolss_EnumPrinterKey *r); WERROR _spoolss_DeletePrinterDataEx(pipes_struct *p, struct spoolss_DeletePrinterDataEx *r); WERROR _spoolss_DeletePrinterKey(pipes_struct *p, struct spoolss_DeletePrinterKey *r); WERROR _spoolss_53(pipes_struct *p, struct spoolss_53 *r); WERROR _spoolss_DeletePrinterDriverEx(pipes_struct *p, struct spoolss_DeletePrinterDriverEx *r); WERROR _spoolss_55(pipes_struct *p, struct spoolss_55 *r); WERROR _spoolss_56(pipes_struct *p, struct spoolss_56 *r); WERROR _spoolss_57(pipes_struct *p, struct spoolss_57 *r); WERROR _spoolss_XcvData(pipes_struct *p, struct spoolss_XcvData *r); WERROR _spoolss_AddPrinterDriverEx(pipes_struct *p, struct spoolss_AddPrinterDriverEx *r); WERROR _spoolss_5a(pipes_struct *p, struct spoolss_5a *r); WERROR _spoolss_5b(pipes_struct *p, struct spoolss_5b *r); WERROR _spoolss_5c(pipes_struct *p, struct spoolss_5c *r); WERROR _spoolss_5d(pipes_struct *p, struct spoolss_5d *r); WERROR _spoolss_5e(pipes_struct *p, struct spoolss_5e *r); WERROR _spoolss_5f(pipes_struct *p, struct spoolss_5f *r); WERROR _spoolss_60(pipes_struct *p, struct spoolss_60 *r); WERROR _spoolss_61(pipes_struct *p, struct spoolss_61 *r); WERROR _spoolss_62(pipes_struct *p, struct spoolss_62 *r); WERROR _spoolss_63(pipes_struct *p, struct spoolss_63 *r); WERROR _spoolss_64(pipes_struct *p, struct spoolss_64 *r); WERROR _spoolss_65(pipes_struct *p, struct spoolss_65 *r); WERROR _spoolss_GetCorePrinterDrivers(pipes_struct *p, struct spoolss_GetCorePrinterDrivers *r); WERROR _spoolss_67(pipes_struct *p, struct spoolss_67 *r); WERROR _spoolss_GetPrinterDriverPackagePath(pipes_struct *p, struct spoolss_GetPrinterDriverPackagePath *r); WERROR _spoolss_69(pipes_struct *p, struct spoolss_69 *r); WERROR _spoolss_6a(pipes_struct *p, struct spoolss_6a *r); WERROR _spoolss_6b(pipes_struct *p, struct spoolss_6b *r); WERROR _spoolss_6c(pipes_struct *p, struct spoolss_6c *r); WERROR _spoolss_6d(pipes_struct *p, struct spoolss_6d *r); void spoolss_get_pipe_fns(struct api_struct **fns, int *n_fns); NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32_t opnum, void *r); WERROR _spoolss_EnumPrinters(pipes_struct *p, struct spoolss_EnumPrinters *r); WERROR _spoolss_OpenPrinter(pipes_struct *p, struct spoolss_OpenPrinter *r); WERROR _spoolss_SetJob(pipes_struct *p, struct spoolss_SetJob *r); WERROR _spoolss_GetJob(pipes_struct *p, struct spoolss_GetJob *r); WERROR _spoolss_EnumJobs(pipes_struct *p, struct spoolss_EnumJobs *r); WERROR _spoolss_AddPrinter(pipes_struct *p, struct spoolss_AddPrinter *r); WERROR _spoolss_DeletePrinter(pipes_struct *p, struct spoolss_DeletePrinter *r); WERROR _spoolss_SetPrinter(pipes_struct *p, struct spoolss_SetPrinter *r); WERROR _spoolss_GetPrinter(pipes_struct *p, struct spoolss_GetPrinter *r); WERROR _spoolss_AddPrinterDriver(pipes_struct *p, struct spoolss_AddPrinterDriver *r); WERROR _spoolss_EnumPrinterDrivers(pipes_struct *p, struct spoolss_EnumPrinterDrivers *r); WERROR _spoolss_GetPrinterDriver(pipes_struct *p, struct spoolss_GetPrinterDriver *r); WERROR _spoolss_GetPrinterDriverDirectory(pipes_struct *p, struct spoolss_GetPrinterDriverDirectory *r); WERROR _spoolss_DeletePrinterDriver(pipes_struct *p, struct spoolss_DeletePrinterDriver *r); WERROR _spoolss_AddPrintProcessor(pipes_struct *p, struct spoolss_AddPrintProcessor *r); WERROR _spoolss_EnumPrintProcessors(pipes_struct *p, struct spoolss_EnumPrintProcessors *r); WERROR _spoolss_GetPrintProcessorDirectory(pipes_struct *p, struct spoolss_GetPrintProcessorDirectory *r); WERROR _spoolss_StartDocPrinter(pipes_struct *p, struct spoolss_StartDocPrinter *r); WERROR _spoolss_StartPagePrinter(pipes_struct *p, struct spoolss_StartPagePrinter *r); WERROR _spoolss_WritePrinter(pipes_struct *p, struct spoolss_WritePrinter *r); WERROR _spoolss_EndPagePrinter(pipes_struct *p, struct spoolss_EndPagePrinter *r); WERROR _spoolss_AbortPrinter(pipes_struct *p, struct spoolss_AbortPrinter *r); WERROR _spoolss_ReadPrinter(pipes_struct *p, struct spoolss_ReadPrinter *r); WERROR _spoolss_EndDocPrinter(pipes_struct *p, struct spoolss_EndDocPrinter *r); WERROR _spoolss_AddJob(pipes_struct *p, struct spoolss_AddJob *r); WERROR _spoolss_ScheduleJob(pipes_struct *p, struct spoolss_ScheduleJob *r); WERROR _spoolss_GetPrinterData(pipes_struct *p, struct spoolss_GetPrinterData *r); WERROR _spoolss_SetPrinterData(pipes_struct *p, struct spoolss_SetPrinterData *r); WERROR _spoolss_WaitForPrinterChange(pipes_struct *p, struct spoolss_WaitForPrinterChange *r); WERROR _spoolss_ClosePrinter(pipes_struct *p, struct spoolss_ClosePrinter *r); WERROR _spoolss_AddForm(pipes_struct *p, struct spoolss_AddForm *r); WERROR _spoolss_DeleteForm(pipes_struct *p, struct spoolss_DeleteForm *r); WERROR _spoolss_GetForm(pipes_struct *p, struct spoolss_GetForm *r); WERROR _spoolss_SetForm(pipes_struct *p, struct spoolss_SetForm *r); WERROR _spoolss_EnumForms(pipes_struct *p, struct spoolss_EnumForms *r); WERROR _spoolss_EnumPorts(pipes_struct *p, struct spoolss_EnumPorts *r); WERROR _spoolss_EnumMonitors(pipes_struct *p, struct spoolss_EnumMonitors *r); WERROR _spoolss_AddPort(pipes_struct *p, struct spoolss_AddPort *r); WERROR _spoolss_ConfigurePort(pipes_struct *p, struct spoolss_ConfigurePort *r); WERROR _spoolss_DeletePort(pipes_struct *p, struct spoolss_DeletePort *r); WERROR _spoolss_CreatePrinterIC(pipes_struct *p, struct spoolss_CreatePrinterIC *r); WERROR _spoolss_PlayGDIScriptOnPrinterIC(pipes_struct *p, struct spoolss_PlayGDIScriptOnPrinterIC *r); WERROR _spoolss_DeletePrinterIC(pipes_struct *p, struct spoolss_DeletePrinterIC *r); WERROR _spoolss_AddPrinterConnection(pipes_struct *p, struct spoolss_AddPrinterConnection *r); WERROR _spoolss_DeletePrinterConnection(pipes_struct *p, struct spoolss_DeletePrinterConnection *r); WERROR _spoolss_PrinterMessageBox(pipes_struct *p, struct spoolss_PrinterMessageBox *r); WERROR _spoolss_AddMonitor(pipes_struct *p, struct spoolss_AddMonitor *r); WERROR _spoolss_DeleteMonitor(pipes_struct *p, struct spoolss_DeleteMonitor *r); WERROR _spoolss_DeletePrintProcessor(pipes_struct *p, struct spoolss_DeletePrintProcessor *r); WERROR _spoolss_AddPrintProvidor(pipes_struct *p, struct spoolss_AddPrintProvidor *r); WERROR _spoolss_DeletePrintProvidor(pipes_struct *p, struct spoolss_DeletePrintProvidor *r); WERROR _spoolss_EnumPrintProcDataTypes(pipes_struct *p, struct spoolss_EnumPrintProcDataTypes *r); WERROR _spoolss_ResetPrinter(pipes_struct *p, struct spoolss_ResetPrinter *r); WERROR _spoolss_GetPrinterDriver2(pipes_struct *p, struct spoolss_GetPrinterDriver2 *r); WERROR _spoolss_FindFirstPrinterChangeNotification(pipes_struct *p, struct spoolss_FindFirstPrinterChangeNotification *r); WERROR _spoolss_FindNextPrinterChangeNotification(pipes_struct *p, struct spoolss_FindNextPrinterChangeNotification *r); WERROR _spoolss_FindClosePrinterNotify(pipes_struct *p, struct spoolss_FindClosePrinterNotify *r); WERROR _spoolss_RouterFindFirstPrinterChangeNotificationOld(pipes_struct *p, struct spoolss_RouterFindFirstPrinterChangeNotificationOld *r); WERROR _spoolss_ReplyOpenPrinter(pipes_struct *p, struct spoolss_ReplyOpenPrinter *r); WERROR _spoolss_RouterReplyPrinter(pipes_struct *p, struct spoolss_RouterReplyPrinter *r); WERROR _spoolss_ReplyClosePrinter(pipes_struct *p, struct spoolss_ReplyClosePrinter *r); WERROR _spoolss_AddPortEx(pipes_struct *p, struct spoolss_AddPortEx *r); WERROR _spoolss_RouterFindFirstPrinterChangeNotification(pipes_struct *p, struct spoolss_RouterFindFirstPrinterChangeNotification *r); WERROR _spoolss_SpoolerInit(pipes_struct *p, struct spoolss_SpoolerInit *r); WERROR _spoolss_ResetPrinterEx(pipes_struct *p, struct spoolss_ResetPrinterEx *r); WERROR _spoolss_RemoteFindFirstPrinterChangeNotifyEx(pipes_struct *p, struct spoolss_RemoteFindFirstPrinterChangeNotifyEx *r); WERROR _spoolss_RouterReplyPrinterEx(pipes_struct *p, struct spoolss_RouterReplyPrinterEx *r); WERROR _spoolss_RouterRefreshPrinterChangeNotify(pipes_struct *p, struct spoolss_RouterRefreshPrinterChangeNotify *r); WERROR _spoolss_44(pipes_struct *p, struct spoolss_44 *r); WERROR _spoolss_OpenPrinterEx(pipes_struct *p, struct spoolss_OpenPrinterEx *r); WERROR _spoolss_AddPrinterEx(pipes_struct *p, struct spoolss_AddPrinterEx *r); WERROR _spoolss_47(pipes_struct *p, struct spoolss_47 *r); WERROR _spoolss_EnumPrinterData(pipes_struct *p, struct spoolss_EnumPrinterData *r); WERROR _spoolss_DeletePrinterData(pipes_struct *p, struct spoolss_DeletePrinterData *r); WERROR _spoolss_4a(pipes_struct *p, struct spoolss_4a *r); WERROR _spoolss_4b(pipes_struct *p, struct spoolss_4b *r); WERROR _spoolss_4c(pipes_struct *p, struct spoolss_4c *r); WERROR _spoolss_SetPrinterDataEx(pipes_struct *p, struct spoolss_SetPrinterDataEx *r); WERROR _spoolss_GetPrinterDataEx(pipes_struct *p, struct spoolss_GetPrinterDataEx *r); WERROR _spoolss_EnumPrinterDataEx(pipes_struct *p, struct spoolss_EnumPrinterDataEx *r); WERROR _spoolss_EnumPrinterKey(pipes_struct *p, struct spoolss_EnumPrinterKey *r); WERROR _spoolss_DeletePrinterDataEx(pipes_struct *p, struct spoolss_DeletePrinterDataEx *r); WERROR _spoolss_DeletePrinterKey(pipes_struct *p, struct spoolss_DeletePrinterKey *r); WERROR _spoolss_53(pipes_struct *p, struct spoolss_53 *r); WERROR _spoolss_DeletePrinterDriverEx(pipes_struct *p, struct spoolss_DeletePrinterDriverEx *r); WERROR _spoolss_55(pipes_struct *p, struct spoolss_55 *r); WERROR _spoolss_56(pipes_struct *p, struct spoolss_56 *r); WERROR _spoolss_57(pipes_struct *p, struct spoolss_57 *r); WERROR _spoolss_XcvData(pipes_struct *p, struct spoolss_XcvData *r); WERROR _spoolss_AddPrinterDriverEx(pipes_struct *p, struct spoolss_AddPrinterDriverEx *r); WERROR _spoolss_5a(pipes_struct *p, struct spoolss_5a *r); WERROR _spoolss_5b(pipes_struct *p, struct spoolss_5b *r); WERROR _spoolss_5c(pipes_struct *p, struct spoolss_5c *r); WERROR _spoolss_5d(pipes_struct *p, struct spoolss_5d *r); WERROR _spoolss_5e(pipes_struct *p, struct spoolss_5e *r); WERROR _spoolss_5f(pipes_struct *p, struct spoolss_5f *r); WERROR _spoolss_60(pipes_struct *p, struct spoolss_60 *r); WERROR _spoolss_61(pipes_struct *p, struct spoolss_61 *r); WERROR _spoolss_62(pipes_struct *p, struct spoolss_62 *r); WERROR _spoolss_63(pipes_struct *p, struct spoolss_63 *r); WERROR _spoolss_64(pipes_struct *p, struct spoolss_64 *r); WERROR _spoolss_65(pipes_struct *p, struct spoolss_65 *r); WERROR _spoolss_GetCorePrinterDrivers(pipes_struct *p, struct spoolss_GetCorePrinterDrivers *r); WERROR _spoolss_67(pipes_struct *p, struct spoolss_67 *r); WERROR _spoolss_GetPrinterDriverPackagePath(pipes_struct *p, struct spoolss_GetPrinterDriverPackagePath *r); WERROR _spoolss_69(pipes_struct *p, struct spoolss_69 *r); WERROR _spoolss_6a(pipes_struct *p, struct spoolss_6a *r); WERROR _spoolss_6b(pipes_struct *p, struct spoolss_6b *r); WERROR _spoolss_6c(pipes_struct *p, struct spoolss_6c *r); WERROR _spoolss_6d(pipes_struct *p, struct spoolss_6d *r); NTSTATUS rpc_spoolss_init(void); #endif /* __SRV_SPOOLSS__ */