~lefteris-nikoltsios/+junk/samba-lp1016895

« back to all changes in this revision

Viewing changes to source3/librpc/gen_ndr/srv_spoolss.h

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-21 13:18:04 UTC
  • mfrom: (0.39.21 sid)
  • Revision ID: package-import@ubuntu.com-20111221131804-xtlr39wx6njehxxr
Tags: 2:3.6.1-3ubuntu1
* Merge from Debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/patches/error-trans.fix-276472:
    - Add the translation of Unix Error code -ENOTSUP to NT Error Code
    - NT_STATUS_NOT_SUPPORTED to prevent the Permission denied error.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are 
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access.
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/control:
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
  + debian/samba.logrotate, debian/samba-common.dhcp, debian/samba.if-up:
    - Make them upstart compatible
  + debian/samba.postinst: 
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/patches/fix-debuglevel-name-conflict.patch: don't use 'debug_level'
    as a global variable name in an NSS module 
  + Dropped:
    - debian/patches/error-trans.fix-276472
    - debian/patches/fix-debuglevel-name-conflict.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "librpc/gen_ndr/ndr_spoolss.h"
 
2
#ifndef __SRV_SPOOLSS__
 
3
#define __SRV_SPOOLSS__
 
4
WERROR _spoolss_EnumPrinters(struct pipes_struct *p, struct spoolss_EnumPrinters *r);
 
5
WERROR _spoolss_OpenPrinter(struct pipes_struct *p, struct spoolss_OpenPrinter *r);
 
6
WERROR _spoolss_SetJob(struct pipes_struct *p, struct spoolss_SetJob *r);
 
7
WERROR _spoolss_GetJob(struct pipes_struct *p, struct spoolss_GetJob *r);
 
8
WERROR _spoolss_EnumJobs(struct pipes_struct *p, struct spoolss_EnumJobs *r);
 
9
WERROR _spoolss_AddPrinter(struct pipes_struct *p, struct spoolss_AddPrinter *r);
 
10
WERROR _spoolss_DeletePrinter(struct pipes_struct *p, struct spoolss_DeletePrinter *r);
 
11
WERROR _spoolss_SetPrinter(struct pipes_struct *p, struct spoolss_SetPrinter *r);
 
12
WERROR _spoolss_GetPrinter(struct pipes_struct *p, struct spoolss_GetPrinter *r);
 
13
WERROR _spoolss_AddPrinterDriver(struct pipes_struct *p, struct spoolss_AddPrinterDriver *r);
 
14
WERROR _spoolss_EnumPrinterDrivers(struct pipes_struct *p, struct spoolss_EnumPrinterDrivers *r);
 
15
WERROR _spoolss_GetPrinterDriver(struct pipes_struct *p, struct spoolss_GetPrinterDriver *r);
 
16
WERROR _spoolss_GetPrinterDriverDirectory(struct pipes_struct *p, struct spoolss_GetPrinterDriverDirectory *r);
 
17
WERROR _spoolss_DeletePrinterDriver(struct pipes_struct *p, struct spoolss_DeletePrinterDriver *r);
 
18
WERROR _spoolss_AddPrintProcessor(struct pipes_struct *p, struct spoolss_AddPrintProcessor *r);
 
19
WERROR _spoolss_EnumPrintProcessors(struct pipes_struct *p, struct spoolss_EnumPrintProcessors *r);
 
20
WERROR _spoolss_GetPrintProcessorDirectory(struct pipes_struct *p, struct spoolss_GetPrintProcessorDirectory *r);
 
21
WERROR _spoolss_StartDocPrinter(struct pipes_struct *p, struct spoolss_StartDocPrinter *r);
 
22
WERROR _spoolss_StartPagePrinter(struct pipes_struct *p, struct spoolss_StartPagePrinter *r);
 
23
WERROR _spoolss_WritePrinter(struct pipes_struct *p, struct spoolss_WritePrinter *r);
 
24
WERROR _spoolss_EndPagePrinter(struct pipes_struct *p, struct spoolss_EndPagePrinter *r);
 
25
WERROR _spoolss_AbortPrinter(struct pipes_struct *p, struct spoolss_AbortPrinter *r);
 
26
WERROR _spoolss_ReadPrinter(struct pipes_struct *p, struct spoolss_ReadPrinter *r);
 
27
WERROR _spoolss_EndDocPrinter(struct pipes_struct *p, struct spoolss_EndDocPrinter *r);
 
28
WERROR _spoolss_AddJob(struct pipes_struct *p, struct spoolss_AddJob *r);
 
29
WERROR _spoolss_ScheduleJob(struct pipes_struct *p, struct spoolss_ScheduleJob *r);
 
30
WERROR _spoolss_GetPrinterData(struct pipes_struct *p, struct spoolss_GetPrinterData *r);
 
31
WERROR _spoolss_SetPrinterData(struct pipes_struct *p, struct spoolss_SetPrinterData *r);
 
32
WERROR _spoolss_WaitForPrinterChange(struct pipes_struct *p, struct spoolss_WaitForPrinterChange *r);
 
33
WERROR _spoolss_ClosePrinter(struct pipes_struct *p, struct spoolss_ClosePrinter *r);
 
34
WERROR _spoolss_AddForm(struct pipes_struct *p, struct spoolss_AddForm *r);
 
35
WERROR _spoolss_DeleteForm(struct pipes_struct *p, struct spoolss_DeleteForm *r);
 
36
WERROR _spoolss_GetForm(struct pipes_struct *p, struct spoolss_GetForm *r);
 
37
WERROR _spoolss_SetForm(struct pipes_struct *p, struct spoolss_SetForm *r);
 
38
WERROR _spoolss_EnumForms(struct pipes_struct *p, struct spoolss_EnumForms *r);
 
39
WERROR _spoolss_EnumPorts(struct pipes_struct *p, struct spoolss_EnumPorts *r);
 
40
WERROR _spoolss_EnumMonitors(struct pipes_struct *p, struct spoolss_EnumMonitors *r);
 
41
WERROR _spoolss_AddPort(struct pipes_struct *p, struct spoolss_AddPort *r);
 
42
WERROR _spoolss_ConfigurePort(struct pipes_struct *p, struct spoolss_ConfigurePort *r);
 
43
WERROR _spoolss_DeletePort(struct pipes_struct *p, struct spoolss_DeletePort *r);
 
44
WERROR _spoolss_CreatePrinterIC(struct pipes_struct *p, struct spoolss_CreatePrinterIC *r);
 
45
WERROR _spoolss_PlayGDIScriptOnPrinterIC(struct pipes_struct *p, struct spoolss_PlayGDIScriptOnPrinterIC *r);
 
46
WERROR _spoolss_DeletePrinterIC(struct pipes_struct *p, struct spoolss_DeletePrinterIC *r);
 
47
WERROR _spoolss_AddPrinterConnection(struct pipes_struct *p, struct spoolss_AddPrinterConnection *r);
 
48
WERROR _spoolss_DeletePrinterConnection(struct pipes_struct *p, struct spoolss_DeletePrinterConnection *r);
 
49
WERROR _spoolss_PrinterMessageBox(struct pipes_struct *p, struct spoolss_PrinterMessageBox *r);
 
50
WERROR _spoolss_AddMonitor(struct pipes_struct *p, struct spoolss_AddMonitor *r);
 
51
WERROR _spoolss_DeleteMonitor(struct pipes_struct *p, struct spoolss_DeleteMonitor *r);
 
52
WERROR _spoolss_DeletePrintProcessor(struct pipes_struct *p, struct spoolss_DeletePrintProcessor *r);
 
53
WERROR _spoolss_AddPrintProvidor(struct pipes_struct *p, struct spoolss_AddPrintProvidor *r);
 
54
WERROR _spoolss_DeletePrintProvidor(struct pipes_struct *p, struct spoolss_DeletePrintProvidor *r);
 
55
WERROR _spoolss_EnumPrintProcDataTypes(struct pipes_struct *p, struct spoolss_EnumPrintProcDataTypes *r);
 
56
WERROR _spoolss_ResetPrinter(struct pipes_struct *p, struct spoolss_ResetPrinter *r);
 
57
WERROR _spoolss_GetPrinterDriver2(struct pipes_struct *p, struct spoolss_GetPrinterDriver2 *r);
 
58
WERROR _spoolss_FindFirstPrinterChangeNotification(struct pipes_struct *p, struct spoolss_FindFirstPrinterChangeNotification *r);
 
59
WERROR _spoolss_FindNextPrinterChangeNotification(struct pipes_struct *p, struct spoolss_FindNextPrinterChangeNotification *r);
 
60
WERROR _spoolss_FindClosePrinterNotify(struct pipes_struct *p, struct spoolss_FindClosePrinterNotify *r);
 
61
WERROR _spoolss_RouterFindFirstPrinterChangeNotificationOld(struct pipes_struct *p, struct spoolss_RouterFindFirstPrinterChangeNotificationOld *r);
 
62
WERROR _spoolss_ReplyOpenPrinter(struct pipes_struct *p, struct spoolss_ReplyOpenPrinter *r);
 
63
WERROR _spoolss_RouterReplyPrinter(struct pipes_struct *p, struct spoolss_RouterReplyPrinter *r);
 
64
WERROR _spoolss_ReplyClosePrinter(struct pipes_struct *p, struct spoolss_ReplyClosePrinter *r);
 
65
WERROR _spoolss_AddPortEx(struct pipes_struct *p, struct spoolss_AddPortEx *r);
 
66
WERROR _spoolss_RouterFindFirstPrinterChangeNotification(struct pipes_struct *p, struct spoolss_RouterFindFirstPrinterChangeNotification *r);
 
67
WERROR _spoolss_SpoolerInit(struct pipes_struct *p, struct spoolss_SpoolerInit *r);
 
68
WERROR _spoolss_ResetPrinterEx(struct pipes_struct *p, struct spoolss_ResetPrinterEx *r);
 
69
WERROR _spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct pipes_struct *p, struct spoolss_RemoteFindFirstPrinterChangeNotifyEx *r);
 
70
WERROR _spoolss_RouterReplyPrinterEx(struct pipes_struct *p, struct spoolss_RouterReplyPrinterEx *r);
 
71
WERROR _spoolss_RouterRefreshPrinterChangeNotify(struct pipes_struct *p, struct spoolss_RouterRefreshPrinterChangeNotify *r);
 
72
WERROR _spoolss_44(struct pipes_struct *p, struct spoolss_44 *r);
 
73
WERROR _spoolss_OpenPrinterEx(struct pipes_struct *p, struct spoolss_OpenPrinterEx *r);
 
74
WERROR _spoolss_AddPrinterEx(struct pipes_struct *p, struct spoolss_AddPrinterEx *r);
 
75
WERROR _spoolss_SetPort(struct pipes_struct *p, struct spoolss_SetPort *r);
 
76
WERROR _spoolss_EnumPrinterData(struct pipes_struct *p, struct spoolss_EnumPrinterData *r);
 
77
WERROR _spoolss_DeletePrinterData(struct pipes_struct *p, struct spoolss_DeletePrinterData *r);
 
78
WERROR _spoolss_4a(struct pipes_struct *p, struct spoolss_4a *r);
 
79
WERROR _spoolss_4b(struct pipes_struct *p, struct spoolss_4b *r);
 
80
WERROR _spoolss_4c(struct pipes_struct *p, struct spoolss_4c *r);
 
81
WERROR _spoolss_SetPrinterDataEx(struct pipes_struct *p, struct spoolss_SetPrinterDataEx *r);
 
82
WERROR _spoolss_GetPrinterDataEx(struct pipes_struct *p, struct spoolss_GetPrinterDataEx *r);
 
83
WERROR _spoolss_EnumPrinterDataEx(struct pipes_struct *p, struct spoolss_EnumPrinterDataEx *r);
 
84
WERROR _spoolss_EnumPrinterKey(struct pipes_struct *p, struct spoolss_EnumPrinterKey *r);
 
85
WERROR _spoolss_DeletePrinterDataEx(struct pipes_struct *p, struct spoolss_DeletePrinterDataEx *r);
 
86
WERROR _spoolss_DeletePrinterKey(struct pipes_struct *p, struct spoolss_DeletePrinterKey *r);
 
87
WERROR _spoolss_53(struct pipes_struct *p, struct spoolss_53 *r);
 
88
WERROR _spoolss_DeletePrinterDriverEx(struct pipes_struct *p, struct spoolss_DeletePrinterDriverEx *r);
 
89
WERROR _spoolss_AddPerMachineConnection(struct pipes_struct *p, struct spoolss_AddPerMachineConnection *r);
 
90
WERROR _spoolss_DeletePerMachineConnection(struct pipes_struct *p, struct spoolss_DeletePerMachineConnection *r);
 
91
WERROR _spoolss_EnumPerMachineConnections(struct pipes_struct *p, struct spoolss_EnumPerMachineConnections *r);
 
92
WERROR _spoolss_XcvData(struct pipes_struct *p, struct spoolss_XcvData *r);
 
93
WERROR _spoolss_AddPrinterDriverEx(struct pipes_struct *p, struct spoolss_AddPrinterDriverEx *r);
 
94
WERROR _spoolss_5a(struct pipes_struct *p, struct spoolss_5a *r);
 
95
WERROR _spoolss_5b(struct pipes_struct *p, struct spoolss_5b *r);
 
96
WERROR _spoolss_5c(struct pipes_struct *p, struct spoolss_5c *r);
 
97
WERROR _spoolss_5d(struct pipes_struct *p, struct spoolss_5d *r);
 
98
WERROR _spoolss_5e(struct pipes_struct *p, struct spoolss_5e *r);
 
99
WERROR _spoolss_5f(struct pipes_struct *p, struct spoolss_5f *r);
 
100
WERROR _spoolss_60(struct pipes_struct *p, struct spoolss_60 *r);
 
101
WERROR _spoolss_61(struct pipes_struct *p, struct spoolss_61 *r);
 
102
WERROR _spoolss_62(struct pipes_struct *p, struct spoolss_62 *r);
 
103
WERROR _spoolss_63(struct pipes_struct *p, struct spoolss_63 *r);
 
104
WERROR _spoolss_64(struct pipes_struct *p, struct spoolss_64 *r);
 
105
WERROR _spoolss_65(struct pipes_struct *p, struct spoolss_65 *r);
 
106
WERROR _spoolss_GetCorePrinterDrivers(struct pipes_struct *p, struct spoolss_GetCorePrinterDrivers *r);
 
107
WERROR _spoolss_67(struct pipes_struct *p, struct spoolss_67 *r);
 
108
WERROR _spoolss_GetPrinterDriverPackagePath(struct pipes_struct *p, struct spoolss_GetPrinterDriverPackagePath *r);
 
109
WERROR _spoolss_69(struct pipes_struct *p, struct spoolss_69 *r);
 
110
WERROR _spoolss_6a(struct pipes_struct *p, struct spoolss_6a *r);
 
111
WERROR _spoolss_6b(struct pipes_struct *p, struct spoolss_6b *r);
 
112
WERROR _spoolss_6c(struct pipes_struct *p, struct spoolss_6c *r);
 
113
WERROR _spoolss_6d(struct pipes_struct *p, struct spoolss_6d *r);
 
114
void spoolss_get_pipe_fns(struct api_struct **fns, int *n_fns);
 
115
struct rpc_srv_callbacks;
 
116
NTSTATUS rpc_spoolss_init(const struct rpc_srv_callbacks *rpc_srv_cb);
 
117
NTSTATUS rpc_spoolss_shutdown(void);
 
118
#endif /* __SRV_SPOOLSS__ */